From: Greg Kroah-Hartman Date: Tue, 3 Sep 2019 15:11:07 +0000 (+0200) Subject: Merge generic_lookup_helpers into usb-next X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c5c0283a9db1c7ba5881f956a1faf2ebc3dfe70e;p=linux.git Merge generic_lookup_helpers into usb-next The lookup helpers are needed here. Signed-off-by: Greg Kroah-Hartman --- c5c0283a9db1c7ba5881f956a1faf2ebc3dfe70e diff --cc include/linux/platform_device.h index 34a3d8ed8ba7c,37e15a935a42f..3fce4ec63dc27 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h @@@ -49,8 -48,12 +49,11 @@@ extern void platform_device_unregister( extern struct bus_type platform_bus_type; extern struct device platform_bus; -extern void arch_setup_pdev_archdata(struct platform_device *); extern struct resource *platform_get_resource(struct platform_device *, unsigned int, unsigned int); + extern struct device * + platform_find_device_by_driver(struct device *start, + const struct device_driver *drv); extern void __iomem * devm_platform_ioremap_resource(struct platform_device *pdev, unsigned int index);