Commit 77c98b28 authored by Alexander Shishkin's avatar Alexander Shishkin

intel_th: Constify subdevices

The subdevice array consists of immutable objects, make them const.
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
parent b29f6d3e
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment