From mboxrd@z Thu Jan 1 00:00:00 1970 From: mchehab@redhat.com (Mauro Carvalho Chehab) Date: Thu, 27 Sep 2012 04:38:07 -0300 Subject: [PATCH 14/34] dma: ipu: rename mach/ipu.h to include/linux/dma/ipu-dma.h In-Reply-To: References: <1347860103-4141-1-git-send-email-shawn.guo@linaro.org> <1347860103-4141-15-git-send-email-shawn.guo@linaro.org> Message-ID: <5064025F.8040508@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Em 17-09-2012 06:26, Guennadi Liakhovetski escreveu: > On Mon, 17 Sep 2012, Shawn Guo wrote: > >> The header ipu.h really belongs to dma subsystem rather than imx >> platform. Rename it to ipu-dma.h and put it into include/linux/dma/. >> >> Signed-off-by: Shawn Guo >> Cc: Vinod Koul >> Cc: Guennadi Liakhovetski >> Cc: Florian Tobias Schandinat >> Cc: linux-media at vger.kernel.org >> Cc: linux-fbdev at vger.kernel.org > > Acked-by: Guennadi Liakhovetski Acked-by: Mauro Carvalho Chehab > > Thanks > Guennadi > >> --- >> drivers/dma/ipu/ipu_idmac.c | 3 +-- >> drivers/dma/ipu/ipu_irq.c | 3 +-- >> drivers/media/video/mx3_camera.c | 2 +- >> drivers/video/mx3fb.c | 2 +- >> .../mach/ipu.h => include/linux/dma/ipu-dma.h | 6 +++--- >> 5 files changed, 7 insertions(+), 9 deletions(-) >> rename arch/arm/mach-imx/include/mach/ipu.h => include/linux/dma/ipu-dma.h (97%) >> >> diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c >> index c7573e5..6585537 100644 >> --- a/drivers/dma/ipu/ipu_idmac.c >> +++ b/drivers/dma/ipu/ipu_idmac.c >> @@ -22,8 +22,7 @@ >> #include >> #include >> #include >> - >> -#include >> +#include >> >> #include "../dmaengine.h" >> #include "ipu_intern.h" >> diff --git a/drivers/dma/ipu/ipu_irq.c b/drivers/dma/ipu/ipu_irq.c >> index fa95bcc..a5ee37d 100644 >> --- a/drivers/dma/ipu/ipu_irq.c >> +++ b/drivers/dma/ipu/ipu_irq.c >> @@ -15,8 +15,7 @@ >> #include >> #include >> #include >> - >> -#include >> +#include >> >> #include "ipu_intern.h" >> >> diff --git a/drivers/media/video/mx3_camera.c b/drivers/media/video/mx3_camera.c >> index 1481b0d..892cba5 100644 >> --- a/drivers/media/video/mx3_camera.c >> +++ b/drivers/media/video/mx3_camera.c >> @@ -17,6 +17,7 @@ >> #include >> #include >> #include >> +#include >> >> #include >> #include >> @@ -24,7 +25,6 @@ >> #include >> #include >> >> -#include >> #include >> #include >> >> diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c >> index d738108..3b63ad8 100644 >> --- a/drivers/video/mx3fb.c >> +++ b/drivers/video/mx3fb.c >> @@ -26,10 +26,10 @@ >> #include >> #include >> #include >> +#include >> >> #include >> #include >> -#include >> #include >> >> #include >> diff --git a/arch/arm/mach-imx/include/mach/ipu.h b/include/linux/dma/ipu-dma.h >> similarity index 97% >> rename from arch/arm/mach-imx/include/mach/ipu.h >> rename to include/linux/dma/ipu-dma.h >> index 539e559..1803111 100644 >> --- a/arch/arm/mach-imx/include/mach/ipu.h >> +++ b/include/linux/dma/ipu-dma.h >> @@ -9,8 +9,8 @@ >> * published by the Free Software Foundation. >> */ >> >> -#ifndef _IPU_H_ >> -#define _IPU_H_ >> +#ifndef __LINUX_DMA_IPU_DMA_H >> +#define __LINUX_DMA_IPU_DMA_H >> >> #include >> #include >> @@ -174,4 +174,4 @@ struct idmac_channel { >> #define to_tx_desc(tx) container_of(tx, struct idmac_tx_desc, txd) >> #define to_idmac_chan(c) container_of(c, struct idmac_channel, dma_chan) >> >> -#endif >> +#endif /* __LINUX_DMA_IPU_DMA_H */ >> -- >> 1.7.9.5 >> > > --- > Guennadi Liakhovetski, Ph.D. > Freelance Open-Source Software Developer > http://www.open-technology.de/ > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >