[MTD] Compile fix for dataflash OTP support
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Aug 7 06:59:01 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=cf93ae02600e2c752bf2570085e7970a1c0f2b94
Commit: cf93ae02600e2c752bf2570085e7970a1c0f2b94
Parent: e93cafe45fd74935e0aca2b79e533f0e3ed9640f
Author: David Brownell <dbrownell at users.sourceforge.net>
AuthorDate: Wed Aug 6 13:12:04 2008 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Aug 7 11:23:38 2008 +0100
[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 at users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/devices/mtd_dataflash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
index 17c9b20..9016127 100644
--- a/drivers/mtd/devices/mtd_dataflash.c
+++ b/drivers/mtd/devices/mtd_dataflash.c
@@ -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)";
}
More information about the linux-mtd-cvs
mailing list