summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/net2272.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-08-08 11:36:51 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-08 12:34:44 -0700
commitd84d66153b89b267dd6d88defd0932e21fa84b6a (patch)
treeeb6708f4c3fdadb7fac68a7a64b5bf617597f6a7 /drivers/usb/gadget/net2272.c
parentb6741d1fe947f829bd4303397fd888e1d4b66bae (diff)
downloadlinux-stable-d84d66153b89b267dd6d88defd0932e21fa84b6a.tar.gz
linux-stable-d84d66153b89b267dd6d88defd0932e21fa84b6a.tar.bz2
linux-stable-d84d66153b89b267dd6d88defd0932e21fa84b6a.zip
usb: gadget: net2272 - Correct includes
<linux/irq.h> states: * Please do not include this file in generic code. There is currently * no requirement for any architecture to implement anything held * within this file. prefetch() and prefetchw() need <linux/prefetch.h> on m68k: drivers/usb/gadget/net2272.c: In function ‘net2272_write_fifo’: drivers/usb/gadget/net2272.c:468: error: implicit declaration of function ‘prefetch’ drivers/usb/gadget/net2272.c: In function ‘net2272_read_fifo’: drivers/usb/gadget/net2272.c:574: error: implicit declaration of function ‘prefetchw’ Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/net2272.c')
-rw-r--r--drivers/usb/gadget/net2272.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c
index 7c7b0e120d88..ab98ea926a11 100644
--- a/drivers/usb/gadget/net2272.c
+++ b/drivers/usb/gadget/net2272.c
@@ -27,13 +27,13 @@
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/ioport.h>
-#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
+#include <linux/prefetch.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/timer.h>