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-Tag: v2.6.33~36^2~10 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ae3a07924f0a31b96d52bf16bdf1713445a5a414;p=~emulex%2Finfiniband.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 e220fb8091a..8b45145b913 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