Skip to content

Commit

Permalink
[MTD] Compile fix for dataflash OTP support
Browse files Browse the repository at this point in the history
> > 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>
  • Loading branch information
David Brownell authored and David Woodhouse committed Aug 7, 2008
1 parent e93cafe commit cf93ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/devices/mtd_dataflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
}
Expand Down

0 comments on commit cf93ae0

Please sign in to comment.