Re: [PATCH] missing include in mmc

David Brownell
2007-10-17T00:26:14Z

> From viro@ftp.linux.org.uk Tue Oct 16 17:18:43 2007
> Date: Wed, 17 Oct 2007 01:09:07 +0100
> From: Al Viro <viro@ftp.linux.org.uk>
> To: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: dbrownell@users.sourceforge.net, linux-kernel@vger.kernel.org
> Subject: [PATCH] missing include in mmc
>
> AFAICS, fallout from repacing include of blkdev.h with include of bio.h.

Out of curiousity, which architecture(s) need this?

I did test builds on three, and didn't see a need for it ...

> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
> index 71b986b..7ae18ea 100644
> --- a/drivers/mmc/host/mmc_spi.c
> +++ b/drivers/mmc/host/mmc_spi.c
> @@ -30,6 +30,7 @@
> #include <linux/dma-mapping.h>
> #include <linux/crc7.h>
> #include <linux/crc-itu-t.h>
> +#include <linux/scatterlist.h>
>
> #include <linux/mmc/host.h>
> #include <linux/mmc/mmc.h> /* for R1_SPI_* bit values */
>