diff mbox

musb_debugfs.c: remove unneeded includes on ARM

Message ID alpine.LFD.2.00.1108301659540.20358@xanadu.home (mailing list archive)
State New, archived
Headers show

Commit Message

Nicolas Pitre Aug. 30, 2011, 9:05 p.m. UTC
Nothing actually requires that <mach/hardware.h>, <mach/memory.h> nor
<asm/mach-types.h> be included here.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>

---

I'd need appropriate ACK's as this is part of a cleanup series actually 
removing <mach/memory.h>.  If those includes are not useless as I think 
they are, an alternative solution will need to be found.
Thanks.

Comments

Felipe Balbi Aug. 31, 2011, 8:57 a.m. UTC | #1
On Tue, Aug 30, 2011 at 05:05:31PM -0400, Nicolas Pitre wrote:
> Nothing actually requires that <mach/hardware.h>, <mach/memory.h> nor
> <asm/mach-types.h> be included here.
> 
> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>

Here you go:

Acked-by: Felipe Balbi <balbi@ti.com>

> I'd need appropriate ACK's as this is part of a cleanup series actually 
> removing <mach/memory.h>.  If those includes are not useless as I think 
> they are, an alternative solution will need to be found.
> Thanks.

thanks for doing this, there's still lots to cleanup on that driver and
whatever help is greatly apreciated.
diff mbox

Patch

diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c
index b0176e4..61f4ee4 100644
--- a/drivers/usb/musb/musb_debugfs.c
+++ b/drivers/usb/musb/musb_debugfs.c
@@ -41,12 +41,6 @@ 
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 
-#ifdef	CONFIG_ARM
-#include <mach/hardware.h>
-#include <mach/memory.h>
-#include <asm/mach-types.h>
-#endif
-
 #include <asm/uaccess.h>
 
 #include "musb_core.h"