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 <dale at farnsworth.org>

Index: linux-2.5-usb-405/include/asm-ppc/usb.h
===================================================================
--- /dev/null
+++ linux-2.5-usb-405/include/asm-ppc/usb.h
@@ -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) */

Reply via email to