]> git.baikalelectronics.ru Git - kernel.git/commit
fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
authorMathias Krause <minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:11 +0000 (19:43 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:53 +0000 (01:23 -0700)
commit1ab0504754c19f2924560afa014f165d5bb982af
tree7876114f870dcf915bbe73dd282f3fadf3ff56f6
parent8543de5194b482398ed0f7d2ea7fd47d13bdcffc
fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst

The DMI table is only ever used during initialization. Mark it as
__initconst so its memory can be released afterwards -- roughly 1.5 kB.
In turn, the callback functions can be marked with __init, too.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/fujitsu-laptop.c