mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
[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:
parent
e93cafe45f
commit
cf93ae0260
@ -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)";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user