diff options
Diffstat (limited to 'include/linux/platform_device.h')
-rw-r--r-- | include/linux/platform_device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h index 60e9994ef405..5711e9525a2a 100644 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h | |||
@@ -14,11 +14,15 @@ | |||
14 | #include <linux/device.h> | 14 | #include <linux/device.h> |
15 | #include <linux/mod_devicetable.h> | 15 | #include <linux/mod_devicetable.h> |
16 | 16 | ||
17 | #define PLATFORM_DEVID_NONE (-1) | ||
18 | #define PLATFORM_DEVID_AUTO (-2) | ||
19 | |||
17 | struct mfd_cell; | 20 | struct mfd_cell; |
18 | 21 | ||
19 | struct platform_device { | 22 | struct platform_device { |
20 | const char * name; | 23 | const char * name; |
21 | int id; | 24 | int id; |
25 | bool id_auto; | ||
22 | struct device dev; | 26 | struct device dev; |
23 | u32 num_resources; | 27 | u32 num_resources; |
24 | struct resource * resource; | 28 | struct resource * resource; |