aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/ideapad-laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 84641877df28..fc468a3d95ce 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -441,7 +441,7 @@ static umode_t ideapad_is_visible(struct kobject *kobj,
441 return supported ? attr->mode : 0; 441 return supported ? attr->mode : 0;
442} 442}
443 443
444static struct attribute_group ideapad_attribute_group = { 444static const struct attribute_group ideapad_attribute_group = {
445 .is_visible = ideapad_is_visible, 445 .is_visible = ideapad_is_visible,
446 .attrs = ideapad_attributes 446 .attrs = ideapad_attributes
447}; 447};
@@ -456,7 +456,7 @@ struct ideapad_rfk_data {
456 int type; 456 int type;
457}; 457};
458 458
459const struct ideapad_rfk_data ideapad_rfk_data[] = { 459const const struct ideapad_rfk_data ideapad_rfk_data[] = {
460 { "ideapad_wlan", CFG_WIFI_BIT, VPCCMD_W_WIFI, RFKILL_TYPE_WLAN }, 460 { "ideapad_wlan", CFG_WIFI_BIT, VPCCMD_W_WIFI, RFKILL_TYPE_WLAN },
461 { "ideapad_bluetooth", CFG_BT_BIT, VPCCMD_W_BT, RFKILL_TYPE_BLUETOOTH }, 461 { "ideapad_bluetooth", CFG_BT_BIT, VPCCMD_W_BT, RFKILL_TYPE_BLUETOOTH },
462 { "ideapad_3g", CFG_3G_BIT, VPCCMD_W_3G, RFKILL_TYPE_WWAN }, 462 { "ideapad_3g", CFG_3G_BIT, VPCCMD_W_3G, RFKILL_TYPE_WWAN },