From: Axel Lin Date: Tue, 20 Jul 2010 22:19:46 +0000 (-0700) Subject: msi-laptop: make struct rfkill_ops const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e38f052ba5fd4d3d8eb547e7d0c6bc1143a2babd;p=linux-beck.git msi-laptop: make struct rfkill_ops const rfkill uses a const struct rfkill_ops pointer. Signed-off-by: Axel Lin Cc: Matthew Garrett Cc: Lennart Poettering Signed-off-by: Andrew Morton Signed-off-by: Matthew Garrett --- 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 };