提交 cf93ae02 编写于 作者: D David Brownell 提交者: David Woodhouse

[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: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 e93cafe4
......@@ -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)";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册