Skip to content
Commit 69372c1d authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Andy Shevchenko
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 0252894f
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