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)
commitd997d88edff9f47f4939560823f656432d8bc821
treea3cd17215c269cb99f84f2566ef4a15db790d493
parent80f65558bdd14c0a113cd085582d578a3a3a1976
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