diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-04 02:21:14 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-04 02:25:36 -0500 |
commit | 7705d548cbe33f18ea7713b9a07aa11047aaeca4 (patch) | |
tree | 2d7b4337e74f6075f28718974a8c159f07c5eeda /drivers/input/mouse/lifebook.h | |
parent | f72a28aba92d5a599c8a772e443aa8f079b3091f (diff) |
Input: psmouse - do not carry DMI data around
DMI tables use considerable amount of memory. Mark them as __initconst
so they will be discarded once module is loaded.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/lifebook.h')
-rw-r--r-- | drivers/input/mouse/lifebook.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h index 407cb226bc0a..4c4326c6f504 100644 --- a/drivers/input/mouse/lifebook.h +++ b/drivers/input/mouse/lifebook.h | |||
@@ -12,9 +12,13 @@ | |||
12 | #define _LIFEBOOK_H | 12 | #define _LIFEBOOK_H |
13 | 13 | ||
14 | #ifdef CONFIG_MOUSE_PS2_LIFEBOOK | 14 | #ifdef CONFIG_MOUSE_PS2_LIFEBOOK |
15 | void lifebook_module_init(void); | ||
15 | int lifebook_detect(struct psmouse *psmouse, bool set_properties); | 16 | int lifebook_detect(struct psmouse *psmouse, bool set_properties); |
16 | int lifebook_init(struct psmouse *psmouse); | 17 | int lifebook_init(struct psmouse *psmouse); |
17 | #else | 18 | #else |
19 | inline void lifebook_module_init(void) | ||
20 | { | ||
21 | } | ||
18 | inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) | 22 | inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) |
19 | { | 23 | { |
20 | return -ENOSYS; | 24 | return -ENOSYS; |