Google
  Web www.spinics.net

Re: [PATCH] fix include path in tusb6010_omap.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Sep 04, 2008 at 01:29:08AM +0300, Felipe Balbi wrote:
> In previous patch fixing include path in musb [1], I forgot to fix
> tusb6010_omap.c. This patch fixes that one.
> 
> Ideally, this patch would be melded into the previous one
> 
> [1] http://marc.info/?l=linux-usb&m=122011455015140&w=2
> 
> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>

hi all, another fix to this patch. Russel King stated the proper include
would be asm/memory.h instead of mach/memory.h, so reverted one change
on musb_core.c

==== CUT HERE ====

From: Felipe Balbi <felipe.balbi@xxxxxxxxx>

In previous patch fixing include path in musb [1], I forgot to fix
tusb6010_omap.c. This patch fixes that one.

Ideally, this patch would be melded into the previous one

[1] http://marc.info/?l=linux-usb&m=122011455015140&w=2

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 128e949..c939f81 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -101,7 +101,7 @@
 
 #ifdef CONFIG_ARM
 #include <mach/hardware.h>
-#include <mach/memory.h>
+#include <asm/memory.h>
 #include <asm/mach-types.h>
 #endif
 
diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c
index 52f7f29..7e073a0 100644
--- a/drivers/usb/musb/tusb6010_omap.c
+++ b/drivers/usb/musb/tusb6010_omap.c
@@ -15,8 +15,8 @@
 #include <linux/usb.h>
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
-#include <asm/arch/dma.h>
-#include <asm/arch/mux.h>
+#include <mach/dma.h>
+#include <mach/mux.h>
 
 #include "musb_core.h"
 

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux