[ORLinux] [PATCH] OHS900 include definition of prefetch()
Anders Nystrom
anders.nystrom at southpole.se
Fri Jun 3 09:37:55 CEST 2011
The prefetch macro is used in out_packet() function (is it really needed?).
However the required include is is missing.
Also removed a double include and two outcommented ones.
Signed-off-by: Anders Nystrom <anders.nystrom at southpole.se>
---
drivers/usb/host/ohs900-hcd.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/ohs900-hcd.c b/drivers/usb/host/ohs900-hcd.c
index 7dd7954..df8b831 100644
--- a/drivers/usb/host/ohs900-hcd.c
+++ b/drivers/usb/host/ohs900-hcd.c
@@ -47,7 +47,6 @@ Changelog:
/*#define DEBUG*/
#undef DEBUG
-#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
@@ -61,18 +60,13 @@ Changelog:
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/usb.h>
-
#include <linux/of.h>
#include <linux/platform_device.h>
-
#include <linux/io.h>
#include <linux/irq.h>
-/*#include <asm/system.h>
-#include <asm/byteorder.h>
-*/
+#include <linux/prefetch.h>
#include <linux/ohs900.h>
-
#include <linux/usb/hcd.h>
#include "ohs900-hcd.h"
--
1.7.1
More information about the Linux
mailing list