Skip to content

Commit cf93ae0

Browse files
David BrownellDavid Woodhouse
authored andcommitted
[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>
1 parent e93cafe commit cf93ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/devices/mtd_dataflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ static char *otp_setup(struct mtd_info *device, char revision)
618618

619619
#else
620620

621-
static char *otp_setup(struct mtd_info *device)
621+
static char *otp_setup(struct mtd_info *device, char revision)
622622
{
623623
return " (OTP)";
624624
}

0 commit comments

Comments
 (0)