summaryrefslogtreecommitdiff
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-11-18 17:52:08 +0300
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-11-18 18:07:18 +0300
commit77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94 (patch)
tree851ebe0f5c85a5088cd3563d335a054c9d8c7d4b /drivers/hwtracing
parentb29f6d3e59a1ff8dd5c0aeae8594801a15efcc2c (diff)
downloadlinux-77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94.tar.xz
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')
-rw-r--r--drivers/hwtracing/intel_th/core.c2
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;