ppc32: Add platform data definition used by ohci-ppc-soc.c
PATCH 1/1 ppc32: Add platform data definition used by ohci-ppc-soc.c
This structure allows for callbacks into platform-specific code when the driver is started or stopped. This file is currently included by drivers/usb/host/ohci-ppc-soc.c, so it's needed for USB on the stb04xxx, mpc52xx, and 440EP.
Signed-off-by Dale Farnsworth <[email protected]>
include/asm-ppc/usb.h new file +13 -0
@@ -0,0 +1,13 @@ +/* +* ppc/usb.h: +* +*/ +#ifndef _PPC_USB_H +#define _PPC_USB_H + +struct usb_hcd_platform_data { +int (*start) (struct platform_device *pdev); +void (*stop) (struct platform_device *pdev); +}; + +#endif /* !(_PPC_USB_H) */