diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-11-18 16:52:08 +0200 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2016-11-18 17:07:18 +0200 |
commit | 77c98b28ee68b9e26bd1492e547cb2e5d3fcfc94 (patch) | |
tree | 851ebe0f5c85a5088cd3563d335a054c9d8c7d4b /drivers/hwtracing | |
parent | b29f6d3e59a1ff8dd5c0aeae8594801a15efcc2c (diff) |
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.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; |