[PATCH] Add prototypes for platform_get_resource_byname &platform_get_resource_byirq

From: Kumar Gala
Date: Wed Dec 08 2004 - 18:29:34 EST


Adds the prototypes forgotten in the initial patch for
platform_get_resource_byname & platform_get_resource_byirq.

Signed-off-by: Kumar Gala <kumar.gala@xxxxxxxxxxxxx>

--

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/