diff mbox

ARM: shmobile: marzen: Include mmc/host.h

Message ID 1360748750-11911-1-git-send-email-horms+renesas@verge.net.au (mailing list archive)
State New, archived
Headers show

Commit Message

Simon Horman Feb. 13, 2013, 9:45 a.m. UTC
mmc/host.h provides MMC_CAP_SD_HIGHSPEED which is used in board-marzen.c

This resolves a build problem observed when compiling with
"mmc: tmio: remove unused and deprecated symbols" applied.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/board-marzen.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Guennadi Liakhovetski Feb. 13, 2013, 9:52 a.m. UTC | #1
On Wed, 13 Feb 2013, Simon Horman wrote:

> mmc/host.h provides MMC_CAP_SD_HIGHSPEED which is used in board-marzen.c
> 
> This resolves a build problem observed when compiling with
> "mmc: tmio: remove unused and deprecated symbols" applied.
> 
> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Thanks
Guennadi

> ---
>  arch/arm/mach-shmobile/board-marzen.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c
> index 0020506..3b3554a 100644
> --- a/arch/arm/mach-shmobile/board-marzen.c
> +++ b/arch/arm/mach-shmobile/board-marzen.c
> @@ -32,6 +32,7 @@
>  #include <linux/smsc911x.h>
>  #include <linux/spi/spi.h>
>  #include <linux/spi/sh_hspi.h>
> +#include <linux/mmc/host.h>
>  #include <linux/mmc/sh_mobile_sdhi.h>
>  #include <linux/mfd/tmio.h>
>  #include <linux/usb/otg.h>
> -- 
> 1.7.10.4
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
Simon Horman Feb. 13, 2013, 10:59 a.m. UTC | #2
On Wed, Feb 13, 2013 at 10:52:31AM +0100, Guennadi Liakhovetski wrote:
> On Wed, 13 Feb 2013, Simon Horman wrote:
> 
> > mmc/host.h provides MMC_CAP_SD_HIGHSPEED which is used in board-marzen.c
> > 
> > This resolves a build problem observed when compiling with
> > "mmc: tmio: remove unused and deprecated symbols" applied.
> > 
> > Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Thanks, I have applied it to the boards3 branch.
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c
index 0020506..3b3554a 100644
--- a/arch/arm/mach-shmobile/board-marzen.c
+++ b/arch/arm/mach-shmobile/board-marzen.c
@@ -32,6 +32,7 @@ 
 #include <linux/smsc911x.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/sh_hspi.h>
+#include <linux/mmc/host.h>
 #include <linux/mmc/sh_mobile_sdhi.h>
 #include <linux/mfd/tmio.h>
 #include <linux/usb/otg.h>