diff options
Diffstat (limited to 'drivers/platform/x86/wmi.c')
-rw-r--r-- | drivers/platform/x86/wmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 04791ea5d97b..bea35be68706 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
@@ -987,19 +987,19 @@ static struct bus_type wmi_bus_type = { | |||
987 | .remove = wmi_dev_remove, | 987 | .remove = wmi_dev_remove, |
988 | }; | 988 | }; |
989 | 989 | ||
990 | static struct device_type wmi_type_event = { | 990 | static const struct device_type wmi_type_event = { |
991 | .name = "event", | 991 | .name = "event", |
992 | .groups = wmi_event_groups, | 992 | .groups = wmi_event_groups, |
993 | .release = wmi_dev_release, | 993 | .release = wmi_dev_release, |
994 | }; | 994 | }; |
995 | 995 | ||
996 | static struct device_type wmi_type_method = { | 996 | static const struct device_type wmi_type_method = { |
997 | .name = "method", | 997 | .name = "method", |
998 | .groups = wmi_method_groups, | 998 | .groups = wmi_method_groups, |
999 | .release = wmi_dev_release, | 999 | .release = wmi_dev_release, |
1000 | }; | 1000 | }; |
1001 | 1001 | ||
1002 | static struct device_type wmi_type_data = { | 1002 | static const struct device_type wmi_type_data = { |
1003 | .name = "data", | 1003 | .name = "data", |
1004 | .groups = wmi_data_groups, | 1004 | .groups = wmi_data_groups, |
1005 | .release = wmi_dev_release, | 1005 | .release = wmi_dev_release, |