Re: linux-next: Tree for August 5 (MTD build error)

From: Stephen Rothwell
Date: Thu Aug 07 2008 - 01:09:43 EST


Hi David,

On Wed, 6 Aug 2008 04:13:08 -0700 David Brownell <david-b@xxxxxxxxxxx> wrote:
>
> On Wednesday 06 August 2008, David Brownell wrote:
> > On Tuesday 05 August 2008, Randy Dunlap wrote:
> > >
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c: In function 'add_dataflash_otp':
> > > linux-next-20080805/drivers/mtd/devices/mtd_dataflash.c:670: error: too many arguments to function 'otp_setup'
>
> Whoops, sorry ... I see what was going on. My bad.
>
> --- g26.orig/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:12:45.000000000 -0700
> +++ g26/drivers/mtd/devices/mtd_dataflash.c 2008-08-06 04:11:55.000000000 -0700
> @@ -616,7 +616,7 @@ static char *otp_setup(struct mtd_info *
>
> #else
>
> -static char *otp_setup(struct mtd_info *device)
> +static char *otp_setup(struct mtd_info *device, char revision)
> {
> return " (OTP)";
> }
>

I will add this patch to linux-next today in the hope it will be
integrated somewhere soon (hint, hint :-)).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature