]> git.karo-electronics.de Git - linux-beck.git/commit
ideapad-laptop: Constify DMI table and other r/o variables
authorMathias Krause <minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:15 +0000 (19:43 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:55 +0000 (01:23 -0700)
commit49458e83082d6c68c6b7b8905789dc4f35eca422
tree56f028d9866ce50cd35085a2c698506785ebcb71
parent378008dfc72baed2d9c0f0a40dababc0e8901207
ideapad-laptop: Constify DMI table and other r/o variables

Constify the rfkill_blacklist[] DMI table, the ideapad_rfk_data[] table
and the ideapad_attribute_group attribute group. There's no need to have
them writeable during runtime.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/ideapad-laptop.c