]> git.baikalelectronics.ru Git - kernel.git/commit
alienware-wmi: Mark DMI table as __initconst
authorMathias Krause <minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:07 +0000 (19:43 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:52 +0000 (01:23 -0700)
commit9bce84985a36a61fad095ccfcb39d05a0f779cea
treea3cd17215c269cb99f84f2566ef4a15db790d493
parent6bb4f4ea823e664038b46dfb49bc0b033834fa33
alienware-wmi: Mark DMI table as __initconst

The DMI table is only ever used during initialization. Mark it as
__initconst so its memory can be released appropriately. In turn, the
callback function can be marked with __init, too.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/alienware-wmi.c