diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/platform_device.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
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; |
