aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-18 12:03:18 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-02-16 15:11:03 -0800
commitae3a07924f0a31b96d52bf16bdf1713445a5a414 (patch)
tree47c4820de826ad7ac5319a0474a014add2362f2e /drivers/usb/gadget
parent65e1ec6751b3eefee6d94161185e78736366126f (diff)
downloadkernel_samsung_smdk4412-ae3a07924f0a31b96d52bf16bdf1713445a5a414.zip
kernel_samsung_smdk4412-ae3a07924f0a31b96d52bf16bdf1713445a5a414.tar.gz
kernel_samsung_smdk4412-ae3a07924f0a31b96d52bf16bdf1713445a5a414.tar.bz2
USB: r8a66597-udc: Prototype IS_ERR() and PTR_ERR()
The build of r8a66597-udc was failing on ARM since IS_ERR() and PTR_ERR() weren't protyped. Presumably err.h is being pulled in by another header on other platforms. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-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 e220fb8..8b45145 100644
--- a/drivers/usb/gadget/r8a66597-udc.c
+++ b/drivers/usb/gadget/r8a66597-udc.c
@@ -26,6 +26,7 @@
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
+#include <linux/err.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>