diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-11-18 15:52:08 +0100 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-11-18 16:07:18 +0100 |
commit | 77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94 (patch) | |
tree | 851ebe0f5c85a5088cd3563d335a054c9d8c7d4b /drivers/hwtracing/intel_th | |
parent | stm class: Document stm_source channel assignment (diff) | |
download | linux-77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94.tar.xz linux-77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94.zip |
intel_th: Constify subdevices
The subdevice array consists of immutable objects, make them const.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Diffstat (limited to 'drivers/hwtracing/intel_th')
-rw-r--r-- | drivers/hwtracing/intel_th/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c index 6f0a51a2c6ec..79e19627b99f 100644 --- a/drivers/hwtracing/intel_th/core.c +++ b/drivers/hwtracing/intel_th/core.c @@ -380,7 +380,7 @@ static void intel_th_device_free(struct intel_th_device *thdev) /* * Intel(R) Trace Hub subdevices */ -static struct intel_th_subdevice { +static const struct intel_th_subdevice { const char *name; struct resource res[3]; unsigned nres; |