diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-08-06 13:12:04 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-07 11:23:38 +0100 |
commit | cf93ae02600e2c752bf2570085e7970a1c0f2b94 (patch) | |
tree | 887c230bd05a4dfb87bd42209607d7903516fd20 /drivers/mtd/devices/mtd_dataflash.c | |
parent | e93cafe45fd74935e0aca2b79e533f0e3ed9640f (diff) | |
download | op-kernel-dev-cf93ae02600e2c752bf2570085e7970a1c0f2b94.zip op-kernel-dev-cf93ae02600e2c752bf2570085e7970a1c0f2b94.tar.gz |
[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>
Diffstat (limited to 'drivers/mtd/devices/mtd_dataflash.c')
-rw-r--r-- | 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)"; } |