summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-03-11 15:06:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 07:24:12 -0700
commitfa7bf3424ead0a496f5176abb3253b8176bb2935 (patch)
tree9ea66f768ee63f515d0d319c16ed5d599ee63429
parent1e63ef0e0c2cfb5deb9331420c9857fbe04bea73 (diff)
downloadlwn-fa7bf3424ead0a496f5176abb3253b8176bb2935.tar.gz
lwn-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>