diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-07-20 18:19:46 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:49:00 -0400 |
commit | e38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd (patch) | |
tree | eded46b73cbed7cb9c279de094db66a0f0abf84c /drivers/platform | |
parent | 67af7111689b0b615d27b1a5fcc553bee4639831 (diff) |
msi-laptop: make struct rfkill_ops const
rfkill uses a const struct rfkill_ops pointer.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/msi-laptop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index c67a74c46662..7e9bb6df9d39 100644 --- a/drivers/platform/x86/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c | |||
@@ -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 | ||