[MTD] Compile fix for dataflash OTP support
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 6 Aug 2008 20:12:04 +0000 (13:12 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 7 Aug 2008 10:23:38 +0000 (11:23 +0100)
> > 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 <dbrownell@users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/mtd_dataflash.c

index 17c9b20dca87ffa75242f89f98b9e9f5610f2caa..90161277902bff4b7662a404d1fb45cc38d4aacc 100644 (file)
@@ -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)";
 }