summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-03-11 23:06:54 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 15:24:12 +0100
commitfa7bf3424ead0a496f5176abb3253b8176bb2935 (patch)
tree9ea66f768ee63f515d0d319c16ed5d599ee63429
parentUSB: Fix documentation for avoid_reset_quirk (diff)
downloadlinux-fa7bf3424ead0a496f5176abb3253b8176bb2935.tar.xz
linux-fa7bf3424ead0a496f5176abb3253b8176bb2935.zip
usb/gadget: fix compile error on r8a66597-udc.c
C file uses IS_ERR and PTR_ERR, but doesn't include <linux/err.h> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/gadget/r8a66597-udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c
index 8b45145b9136..5e13d23b5f0c 100644
--- a/drivers/usb/gadget/r8a66597-udc.c
+++ b/drivers/usb/gadget/r8a66597-udc.c
@@ -23,6 +23,7 @@
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
+#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/clk.h>