diff options
Diffstat (limited to 'drivers/platform/x86/msi-laptop.c')
| -rw-r--r-- | drivers/platform/x86/msi-laptop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index afd762b58ad9..7e9bb6df9d39 100644 --- a/drivers/platform/x86/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c | |||
| @@ -434,7 +434,7 @@ static int dmi_check_cb(const struct dmi_system_id *id) | |||
| 434 | { | 434 | { |
| 435 | printk(KERN_INFO "msi-laptop: Identified laptop model '%s'.\n", | 435 | printk(KERN_INFO "msi-laptop: Identified laptop model '%s'.\n", |
| 436 | id->ident); | 436 | id->ident); |
| 437 | return 0; | 437 | return 1; |
| 438 | } | 438 | } |
| 439 | 439 | ||
| 440 | static struct dmi_system_id __initdata msi_dmi_table[] = { | 440 | static struct dmi_system_id __initdata msi_dmi_table[] = { |
| @@ -562,15 +562,15 @@ static int rfkill_threeg_set(void *data, bool blocked) | |||
| 562 | return 0; | 562 | return 0; |
| 563 | } | 563 | } |
| 564 | 564 | ||
| 565 | static struct rfkill_ops rfkill_bluetooth_ops = { | 565 | static const struct rfkill_ops rfkill_bluetooth_ops = { |
| 566 | .set_block = rfkill_bluetooth_set | 566 | .set_block = rfkill_bluetooth_set |
| 567 | }; | 567 | }; |
| 568 | 568 | ||
| 569 | static struct rfkill_ops rfkill_wlan_ops = { | 569 | static const struct rfkill_ops rfkill_wlan_ops = { |
| 570 | .set_block = rfkill_wlan_set | 570 | .set_block = rfkill_wlan_set |
| 571 | }; | 571 | }; |
| 572 | 572 | ||
| 573 | static struct rfkill_ops rfkill_threeg_ops = { | 573 | static const struct rfkill_ops rfkill_threeg_ops = { |
| 574 | .set_block = rfkill_threeg_set | 574 | .set_block = rfkill_threeg_set |
| 575 | }; | 575 | }; |
| 576 | 576 | ||
