]> Pileus Git - ~andy/linux/blobdiff - include/linux/mod_devicetable.h
Merge branch 'stmp' into devel
[~andy/linux] / include / linux / mod_devicetable.h
index fde86671f48f380ed6205eb0c66dcf7aec17fd2c..1bf5900ffe434232c61ba9d71a9ee7e061e37a41 100644 (file)
@@ -454,4 +454,13 @@ struct dmi_system_id {
 
 #define DMI_MATCH(a, b)        { a, b }
 
+#define PLATFORM_NAME_SIZE     20
+#define PLATFORM_MODULE_PREFIX "platform:"
+
+struct platform_device_id {
+       char name[PLATFORM_NAME_SIZE];
+       kernel_ulong_t driver_data
+                       __attribute__((aligned(sizeof(kernel_ulong_t))));
+};
+
 #endif /* LINUX_MOD_DEVICETABLE_H */