Commit c47a3167d0454c0af5fb0a0322b01a0e3487798e
Committed by
Linus Torvalds
1 parent
aeb39986ec
Exists in
master
and in
7 other branches
[PATCH] x86-64: Make dmi_find_device for !DMI case inline
Otherwise it will generate warnings and be generated many times. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/dmi.h
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | |
71 | 71 | static inline int dmi_check_system(struct dmi_system_id *list) { return 0; } |
72 | 72 | static inline char * dmi_get_system_info(int field) { return NULL; } |
73 | -static struct dmi_device * dmi_find_device(int type, const char *name, | |
73 | +static inline struct dmi_device * dmi_find_device(int type, const char *name, | |
74 | 74 | struct dmi_device *from) { return NULL; } |
75 | 75 | |
76 | 76 | #endif |