summaryrefslogtreecommitdiffstats
path: root/drivers/ipack
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2018-10-28 11:37:00 +0530
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-10-31 16:11:39 +0200
commit69372c1dbdee8cab3c3892eda932c624af59a494 (patch)
tree3e2f446e214d3c822492da6cfc8b226ffb03264f /drivers/ipack
parent0252894f53fc2693672308d5453d5076b7516637 (diff)
downloadlinux-stable-69372c1dbdee8cab3c3892eda932c624af59a494.tar.gz
linux-stable-69372c1dbdee8cab3c3892eda932c624af59a494.tar.bz2
linux-stable-69372c1dbdee8cab3c3892eda932c624af59a494.zip
platform/x86: wmi: declare device_type structure as constant
The only usage of device_type structure is getting stored as a reference in the type field of device structure. This type field is declared const. Therefore, the device_type structure can never be modified and can be declared as const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions