Skip to content

Commit

Permalink
msi-laptop: make struct rfkill_ops const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Matthew Garrett committed Aug 3, 2010
1 parent 67af711 commit e38f052
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/platform/x86/msi-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit e38f052

Please sign in to comment.