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)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:42:49 +0000 (15:42 -0600)
commit5b5ff82fe22e0417001852701b25185e5ac610c6
tree6ea8373fcd7002240344cc72bc04362d75937b9e
parentde7b545d3abec0b103ec1e7df1b58b7edeecb873
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>
(cherry picked from commit 118b4515aa6916ee7751f29c8b2a3af95abc9783)
drivers/hwtracing/stm/dummy_stm.c