diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-07-20 15:19:46 -0700 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:49:00 -0400 |
commit | e38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd (patch) | |
tree | eded46b73cbed7cb9c279de094db66a0f0abf84c /drivers/platform/x86/msi-laptop.c | |
parent | 67af7111689b0b615d27b1a5fcc553bee4639831 (diff) | |
download | blackbird-op-linux-e38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd.tar.gz blackbird-op-linux-e38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd.zip |
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/x86/msi-laptop.c')
-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) return 0; } -static struct rfkill_ops rfkill_bluetooth_ops = { +static const struct rfkill_ops rfkill_bluetooth_ops = { .set_block = rfkill_bluetooth_set }; -static struct rfkill_ops rfkill_wlan_ops = { +static const struct rfkill_ops rfkill_wlan_ops = { .set_block = rfkill_wlan_set }; -static struct rfkill_ops rfkill_threeg_ops = { +static const struct rfkill_ops rfkill_threeg_ops = { .set_block = rfkill_threeg_set }; |