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: https://git.stricted.de/?a=commitdiff_plain;h=ae3a07924f0a31b96d52bf16bdf1713445a5a414;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 e220fb8091a3..8b45145b9136 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