[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 <dbrownell@users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
David Brownell 2008-08-06 13:12:04 -07:00 committed by David Woodhouse
parent e93cafe45f
commit cf93ae0260

View 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)";
}