stm class: Make dummy's master/channel ranges configurable
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 23 Feb 2018 11:19:43 +0000 (13:19 +0200)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Wed, 28 Mar 2018 15:47:18 +0000 (18:47 +0300)
commit4f0c7c6a12906e3571abb3c2b93eca8f727f4c9c
treec1059d2697ba34ee36bb5247a5e0908e3a289031
parent9ea393d8d8377b6da8ee25c6a114ec24c0687c7c
stm class: Make dummy's master/channel ranges configurable

To allow for more flexible testing of the stm class, make it possible
to specify the ranges of masters and channels that the dummy_stm devices
cover. This is done via module parameters.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/hwtracing/stm/dummy_stm.c
include/uapi/linux/stm.h