Messages in this thread Patch in this message | | | Date | Wed, 8 Dec 2004 17:26:40 -0600 (CST) | From | Kumar Gala <> | Subject | [PATCH] Add prototypes for platform_get_resource_byname & platform_get_resource_byirq |
| |
Adds the prototypes forgotten in the initial patch for platform_get_resource_byname & platform_get_resource_byirq.
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
--
diff -Nru a/include/linux/device.h b/include/linux/device.h --- a/include/linux/device.h 2004-12-08 17:22:36 -06:00 +++ b/include/linux/device.h 2004-12-08 17:22:36 -06:00 @@ -382,6 +382,8 @@ extern struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int); extern int platform_get_irq(struct platform_device *, unsigned int); +extern struct resource *platform_get_resource_byname(struct platform_device *, unsigned int, char *); +extern int platform_get_irq_byname(struct platform_device *, char *); extern int platform_add_devices(struct platform_device **, int); extern struct platform_device *platform_device_register_simple(char *, unsigned int, struct resource *, unsigned int); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |