diff mbox

[15/26] msi-laptop: make struct rfkill_ops const

Message ID 201007202219.o6KMJkUs021049@imap1.linux-foundation.org (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Morton July 20, 2010, 10:19 p.m. UTC
None
diff mbox

Patch

diff -puN drivers/platform/x86/msi-laptop.c~msi-laptop-make-struct-rfkill_ops-const drivers/platform/x86/msi-laptop.c
--- a/drivers/platform/x86/msi-laptop.c~msi-laptop-make-struct-rfkill_ops-const
+++ a/drivers/platform/x86/msi-laptop.c
@@ -562,15 +562,15 @@  static int rfkill_threeg_set(void *data,
 	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
 };