diff options
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 208d615b103d..4c0c364aabc6 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -29,13 +29,14 @@ #include <linux/list.h> #include <linux/spinlock.h> #include <linux/types.h> +#include <linux/ioport.h> #include <asm/semaphore.h> #include <asm/atomic.h> #define DEVICE_NAME_SIZE 50 #define DEVICE_NAME_HALF __stringify(20) /* Less than half to accommodate slop */ #define DEVICE_ID_SIZE 32 -#define BUS_ID_SIZE 20 +#define BUS_ID_SIZE KOBJ_NAME_LEN enum { @@ -388,6 +389,8 @@ struct platform_device { char * name; u32 id; struct device dev; + struct resource res; + unsigned int irq; }; extern int platform_device_register(struct platform_device *); |
