USB: r8a66597-udc: Prototype IS_ERR() and PTR_ERR()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, February 16, 2010 - 6:59 pm

Gitweb:     http://git.kernel.org/linus/ae3a07924f0a31b96d52bf16bdf1713445a5a414
Commit:     ae3a07924f0a31b96d52bf16bdf1713445a5a414
Parent:     65e1ec6751b3eefee6d94161185e78736366126f
Author:     Mark Brown <broonie@opensource.wolfsonmicro.com>
AuthorDate: Mon Jan 18 12:03:18 2010 +0000
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Feb 16 15:11:03 2010 -0800

    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>
---
 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 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>
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB: r8a66597-udc: Prototype IS_ERR() and PTR_ERR(), Linux Kernel Mailing ..., (Tue Feb 16, 6:59 pm)