diff mbox

mmc: sh_mmcif: move header include from header into .c

Message ID Pine.LNX.4.64.1308021445040.28012@axis700.grange (mailing list archive)
State New, archived
Headers show

Commit Message

Guennadi Liakhovetski Aug. 2, 2013, 12:48 p.m. UTC
sh_dma.h isn't needed in sh_mmcif.h, move it into sh_mmcif.c.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---
 drivers/mmc/host/sh_mmcif.c  |    1 +
 include/linux/mmc/sh_mmcif.h |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)

Comments

Chris Ball Aug. 25, 2013, 4:09 a.m. UTC | #1
Hi Guennadi,

On Fri, Aug 02 2013, Guennadi Liakhovetski wrote:
> sh_dma.h isn't needed in sh_mmcif.h, move it into sh_mmcif.c.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
>  drivers/mmc/host/sh_mmcif.c  |    1 +
>  include/linux/mmc/sh_mmcif.h |    1 -
>  2 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
> index 6706b5e..220ee30 100644
> --- a/drivers/mmc/host/sh_mmcif.c
> +++ b/drivers/mmc/host/sh_mmcif.c
> @@ -61,6 +61,7 @@
>  #include <linux/platform_device.h>
>  #include <linux/pm_qos.h>
>  #include <linux/pm_runtime.h>
> +#include <linux/sh_dma.h>
>  #include <linux/spinlock.h>
>  #include <linux/module.h>
>  
> diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h
> index e7d5dd6..5fcd3eb 100644
> --- a/include/linux/mmc/sh_mmcif.h
> +++ b/include/linux/mmc/sh_mmcif.h
> @@ -16,7 +16,6 @@
>  
>  #include <linux/io.h>
>  #include <linux/platform_device.h>
> -#include <linux/sh_dma.h>
>  
>  /*
>   * MMCIF : CE_CLK_CTRL [19:16]

Thanks, pushed to mmc-next for 3.12.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 6706b5e..220ee30 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -61,6 +61,7 @@ 
 #include <linux/platform_device.h>
 #include <linux/pm_qos.h>
 #include <linux/pm_runtime.h>
+#include <linux/sh_dma.h>
 #include <linux/spinlock.h>
 #include <linux/module.h>
 
diff --git a/include/linux/mmc/sh_mmcif.h b/include/linux/mmc/sh_mmcif.h
index e7d5dd6..5fcd3eb 100644
--- a/include/linux/mmc/sh_mmcif.h
+++ b/include/linux/mmc/sh_mmcif.h
@@ -16,7 +16,6 @@ 
 
 #include <linux/io.h>
 #include <linux/platform_device.h>
-#include <linux/sh_dma.h>
 
 /*
  * MMCIF : CE_CLK_CTRL [19:16]