diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2009-01-29 11:56:45 +0900 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-29 11:56:45 +0900 |
| commit | e4e3c3f17fdb78282e3d9b4af7ec90d6e65798eb (patch) | |
| tree | b7018503c1b343e46b9a406855e64ec13bd62d6a /include/linux/mod_devicetable.h | |
| parent | ae5e6d05a606e05e054f816bd01e02f69d38d283 (diff) | |
| parent | c20f326a62c046ee958c3aa584f183201adb229f (diff) | |
Merge branch 'sh/stable-updates'
Diffstat (limited to 'include/linux/mod_devicetable.h')
| -rw-r--r-- | include/linux/mod_devicetable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 97b91d1abb43..fde86671f48f 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -443,6 +443,13 @@ struct dmi_system_id { struct dmi_strmatch matches[4]; void *driver_data; }; +/* + * struct dmi_device_id appears during expansion of + * "MODULE_DEVICE_TABLE(dmi, x)". Compiler doesn't look inside it + * but this is enough for gcc 3.4.6 to error out: + * error: storage size of '__mod_dmi_device_table' isn't known + */ +#define dmi_device_id dmi_system_id #endif #define DMI_MATCH(a, b) { a, b } |
