From f7cd86781d4c363fe07a2940de09669210c4da0c Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Thu, 15 May 2003 00:55:16 -0700 Subject: 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. --- include/linux/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/device.h') 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 *); -- cgit v1.2.3