Thread (2 messages) 2 messages, 2 authors, 2015-01-05

Re: [PATCH] atyfb: mark DMI system id table as __initconst

flat view

From: Tomi Valkeinen <hidden>
Date: 2015-01-05 12:53:22

On 04/01/15 16:04, Mathias Krause wrote:
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 <redacted>
---
 drivers/video/fbdev/aty/atyfb_base.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Thanks, queued for 3.20.

 Tomi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help