mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
intel_th: Constify subdevices
The subdevice array consists of immutable objects, make them const. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
This commit is contained in:
parent
b29f6d3e59
commit
77c98b28ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue