Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e38f052b authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett
Browse files

msi-laptop: make struct rfkill_ops const



rfkill uses a const struct rfkill_ops pointer.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 67af7111
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
};