[PATCH 2.6.10-rc2] ppc32: Add platform data definition used by ohci-ppc-soc.c
Dale Farnsworth
dale at farnsworth.org
Fri Apr 1 06:49:13 EST 2005
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) */
More information about the Linuxppc-embedded
mailing list