diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-05-15 00:55:16 -0700 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-05-15 00:55:16 -0700 |
| commit | f7cd86781d4c363fe07a2940de09669210c4da0c (patch) | |
| tree | de2c85b9a9e4f3057b0316d3d5c40070f2509b7b /include/linux/device.h | |
| parent | 8a9af19ff3b8c8a5884656c2679f7984fd49db63 (diff) | |
driver model: Modify resource representation in struct platform_device.
This way, we can easily handle devices that contain an arbitrary number of
resources reported by the platform.
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 4c0c364aabc6..4f103f853a05 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -389,8 +389,8 @@ struct platform_device { char * name; u32 id; struct device dev; - struct resource res; - unsigned int irq; + u32 num_resources; + struct resource * resource; }; extern int platform_device_register(struct platform_device *); |
