9
0
Fork 0

mtd: fix mtdraw_erase stub signature

Commit 81737c1d43 (mtd: Fix erasing of devices >4GiB) changed the
prototype of the erase function, but fogot to fix up the stub function
used when no MTD write support is built in.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2016-06-23 16:06:30 +02:00 committed by Sascha Hauer
parent 24d9dd9fa3
commit 8ef4478c37
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ static ssize_t mtdraw_write(struct cdev *cdev, const void *buf, size_t count,
{
return 0;
}
static ssize_t mtdraw_erase(struct cdev *cdev, size_t count, loff_t offset)
static ssize_t mtdraw_erase(struct cdev *cdev, loff_t count, loff_t offset)
{
return 0;
}