* [PATCH 2.6.10-rc2] ppc32: Add platform data definition used by ohci-ppc-soc.c
@ 2005-03-31 20:49 Dale Farnsworth
0 siblings, 0 replies; only message in thread
From: Dale Farnsworth @ 2005-03-31 20:49 UTC (permalink / raw)
To: linuxppc-embedded
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@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) */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-31 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 20:49 [PATCH 2.6.10-rc2] ppc32: Add platform data definition used by ohci-ppc-soc.c Dale Farnsworth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox