linux-mips
[Top] [All Lists]

[PATCH] Fix OHCI HCD build for PNX 8550

To: gregkh@suse.de, linux-usb-devel@lists.sourceforge.net, dbrownell@users.sourceforge.net, linux-mips@linux-mips.org
Subject: [PATCH] Fix OHCI HCD build for PNX 8550
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 7 Jun 2006 14:59:22 +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
The PNX8550 OHCI is a platform device so we better include the necessary
headers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

diff --git a/drivers/usb/host/ohci-pnx8550.c b/drivers/usb/host/ohci-pnx8550.c
index db9c5db..ed242e7 100644
--- a/drivers/usb/host/ohci-pnx8550.c
+++ b/drivers/usb/host/ohci-pnx8550.c
@@ -23,7 +23,7 @@
  * This file is licenced under the GPL.
  */
 
-#include <linux/device.h>
+#include <linux/platform_device.h>
 #include <asm/mach-pnx8550/usb.h>
 #include <asm/mach-pnx8550/int.h>
 #include <asm/mach-pnx8550/pci.h>

<Prev in Thread] Current Thread [Next in Thread>