aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-20 18:19:46 -0400
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:49:00 -0400
commite38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd (patch)
treeeded46b73cbed7cb9c279de094db66a0f0abf84c /drivers
parent67af7111689b0b615d27b1a5fcc553bee4639831 (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')
-rw-r--r--drivers/platform/x86/msi-laptop.c6
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
565static struct rfkill_ops rfkill_bluetooth_ops = { 565static const struct rfkill_ops rfkill_bluetooth_ops = {
566 .set_block = rfkill_bluetooth_set 566 .set_block = rfkill_bluetooth_set
567}; 567};
568 568
569static struct rfkill_ops rfkill_wlan_ops = { 569static const struct rfkill_ops rfkill_wlan_ops = {
570 .set_block = rfkill_wlan_set 570 .set_block = rfkill_wlan_set
571}; 571};
572 572
573static struct rfkill_ops rfkill_threeg_ops = { 573static const struct rfkill_ops rfkill_threeg_ops = {
574 .set_block = rfkill_threeg_set 574 .set_block = rfkill_threeg_set
575}; 575};
576 576