From: David Brownell Date: Wed, 6 Aug 2008 20:12:04 +0000 (-0700) Subject: [MTD] Compile fix for dataflash OTP support X-Git-Tag: v2.6.28-rc1~105^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cf93ae02600e2c752bf2570085e7970a1c0f2b94;p=linux-2.6-omap-h63xx.git [MTD] Compile fix for dataflash OTP support > > 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. Signed-off-by: David Brownell Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 17c9b20dca8..90161277902 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -618,7 +618,7 @@ static char *otp_setup(struct mtd_info *device, char revision) #else -static char *otp_setup(struct mtd_info *device) +static char *otp_setup(struct mtd_info *device, char revision) { return " (OTP)"; }