stm class: stm_heartbeat: Make nr_devs parameter read-only
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 4 Mar 2016 14:22:33 +0000 (16:22 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:42:50 +0000 (15:42 -0600)
commit450abebc37405e8a6b0167a7aa60922315e76b4c
treea2d0e2e5c61d11250895f366560c950e13da56b2
parent5b5ff82fe22e0417001852701b25185e5ac610c6
stm class: stm_heartbeat: Make nr_devs parameter read-only

Changing nr_devs after the module has been loaded doesn't actually
change anything, so just make it read-only.

Reported-by: Alan Cox <alan.cox@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
(cherry picked from commit c8be4899449c0b27bc5daf71742cd601b2b3b4e3)
drivers/hwtracing/stm/heartbeat.c