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:
parent
24d9dd9fa3
commit
8ef4478c37
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue