usb/gadget: fix compile error on r8a66597-udc.c
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 11 Mar 2010 22:06:54 +0000 (15:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:12 +0000 (07:24 -0700)
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>
drivers/usb/gadget/r8a66597-udc.c

index 8b45145b913618ea302bf062e905a67ed87baaf2..5e13d23b5f0c887294ce45a9d3521049aaa126b4 100644 (file)
@@ -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>