[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:
Родитель
e93cafe45f
Коммит
cf93ae0260
|
@ -618,7 +618,7 @@ static char *otp_setup(struct mtd_info *device, char revision)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static char *otp_setup(struct mtd_info *device)
|
static char *otp_setup(struct mtd_info *device, char revision)
|
||||||
{
|
{
|
||||||
return " (OTP)";
|
return " (OTP)";
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче