atyfb: mark DMI system id table as __initconst
authorMathias Krause <minipli@googlemail.com>
Sun, 4 Jan 2015 14:04:34 +0000 (15:04 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 13 Jan 2015 10:52:42 +0000 (12:52 +0200)
commita8fc91afab2f6bc50ce5b5be86dd7fc4af159c70
tree58d356105e193c9e08a696870ce95fd3708f6ee4
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115
atyfb: mark DMI system id table as __initconst

We can mark the DMI system id table as __initconst by using a helper
variable that'll tell us if we need to unregister the reboot notifier in
atyfb_exit() instead of matching the DMI system id again.

This frees up ~680 bytes of runtime memory, the DMI table occupies.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/aty/atyfb_base.c
This page took 0.02586 seconds and 5 git commands to generate.