stm class: dummy_stm: Make nr_dummies 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:50 +0000 (16:11 +0300)
commit118b4515aa6916ee7751f29c8b2a3af95abc9783
tree576bc15f6b7f387209722d41a82ca8d35735d99f
parentf57af6df6af23c086cfe023896822200eee48dd1
stm class: dummy_stm: Make nr_dummies parameter read-only

Changing nr_dummies 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/dummy_stm.c