X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fplatform_device.h;h=782090c689322bec205fc7fb969f3ed23a2fd89c;hb=74d89c16735d83349ea74232031819e989a49156;hp=17e336f40b479e61e70eaac21776ca035af60a6b;hpb=9b152d53b763d99802f5948cf4c9eb9e15c07178;p=powerpc.git diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h index 17e336f40b..782090c689 100644 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h @@ -41,6 +41,7 @@ extern struct platform_device *platform_device_alloc(const char *name, unsigned extern int platform_device_add_resources(struct platform_device *pdev, struct resource *res, unsigned int num); extern int platform_device_add_data(struct platform_device *pdev, void *data, size_t size); extern int platform_device_add(struct platform_device *pdev); +extern void platform_device_del(struct platform_device *pdev); extern void platform_device_put(struct platform_device *pdev); struct platform_driver {