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)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 13:11:51 +0000 (16:11 +0300)
commitc8be4899449c0b27bc5daf71742cd601b2b3b4e3
treeec1c4cb626d8c62c63ad31562e3156663b14f32e
parent118b4515aa6916ee7751f29c8b2a3af95abc9783
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>
drivers/hwtracing/stm/heartbeat.c