diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-18 12:03:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-16 15:11:03 -0800 |
commit | ae3a07924f0a31b96d52bf16bdf1713445a5a414 (patch) | |
tree | 47c4820de826ad7ac5319a0474a014add2362f2e /drivers/usb | |
parent | 65e1ec6751b3eefee6d94161185e78736366126f (diff) | |
download | blackbird-op-linux-ae3a07924f0a31b96d52bf16bdf1713445a5a414.tar.gz blackbird-op-linux-ae3a07924f0a31b96d52bf16bdf1713445a5a414.zip |
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')
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c index e220fb8091a3..8b45145b9136 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> |