]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/platform_device.h
Driver Core: constify the name passed to platform_device_register_simple
[linux-2.6-omap-h63xx.git] / include / linux / platform_device.h
index e80804316cdb2e9c78c3ec15ab26435e056bd6bb..3261681c82a45bb4ec68551bd6bb40bbef1935e3 100644 (file)
@@ -35,7 +35,7 @@ extern struct resource *platform_get_resource_byname(struct platform_device *, u
 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 *, int id,
+extern struct platform_device *platform_device_register_simple(const char *, int id,
                                        struct resource *, unsigned int);
 
 extern struct platform_device *platform_device_alloc(const char *name, int id);