From: Mark Brown Date: Mon, 18 Jan 2010 12:03:18 +0000 (+0000) Subject: USB: r8a66597-udc: Prototype IS_ERR() and PTR_ERR() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ae3a07924f0a31b96d52bf16bdf1713445a5a414;p=linux.git 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 Acked-by: Yoshihiro Shimoda Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c index e220fb8091a36..8b45145b91361 100644 --- a/drivers/usb/gadget/r8a66597-udc.c +++ b/drivers/usb/gadget/r8a66597-udc.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include