diff options
Diffstat (limited to 'include')
-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 60e9994..5711e95 100644 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h @@ -14,11 +14,15 @@ #include <linux/device.h> #include <linux/mod_devicetable.h> +#define PLATFORM_DEVID_NONE (-1) +#define PLATFORM_DEVID_AUTO (-2) + struct mfd_cell; struct platform_device { const char * name; int id; + bool id_auto; struct device dev; u32 num_resources; struct resource * resource; |