Fix longstanding "error: storage size of '__mod_dmi_device_table' isn't known"

gcc 3.4.6 doesn't like MODULE_DEVICE_TABLE(dmi, x) expansion enough to
error out. Shut it up in a most simple way.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Alexey Dobriyan and committed by Linus Torvalds 40413dcb 490a8d70

+7
+7
include/linux/mod_devicetable.h
··· 443 struct dmi_strmatch matches[4]; 444 void *driver_data; 445 }; 446 #endif 447 448 #define DMI_MATCH(a, b) { a, b }
··· 443 struct dmi_strmatch matches[4]; 444 void *driver_data; 445 }; 446 + /* 447 + * struct dmi_device_id appears during expansion of 448 + * "MODULE_DEVICE_TABLE(dmi, x)". Compiler doesn't look inside it 449 + * but this is enough for gcc 3.4.6 to error out: 450 + * error: storage size of '__mod_dmi_device_table' isn't known 451 + */ 452 + #define dmi_device_id dmi_system_id 453 #endif 454 455 #define DMI_MATCH(a, b) { a, b }