[PATCH 1/2] mxc_nand: fix build error
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 9 08:28:33 EDT 2010
On Mon, Aug 09, 2010 at 02:38:13PM +0300, Baruch Siach wrote:
> drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command':
> drivers/mtd/nand/mxc_nand.c:908: error: implicit declaration of function 'send_cmd'
This is because you based my series on 2.6.35. With current master this
patch is not necessary.
Sascha
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
> drivers/mtd/nand/mxc_nand.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
> index 4032e0b..3092240 100644
> --- a/drivers/mtd/nand/mxc_nand.c
> +++ b/drivers/mtd/nand/mxc_nand.c
> @@ -905,13 +905,13 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
>
> /* Set program pointer to spare region */
> if (mtd->writesize == 512)
> - send_cmd(host, NAND_CMD_READOOB, false);
> + host->send_cmd(host, NAND_CMD_READOOB, false);
> } else {
> host->buf_start = column;
>
> /* Set program pointer to page start */
> if (mtd->writesize == 512)
> - send_cmd(host, NAND_CMD_READ0, false);
> + host->send_cmd(host, NAND_CMD_READ0, false);
> }
>
> host->send_cmd(host, command, false);
> --
> 1.7.1
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the linux-arm-kernel
mailing list