summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/fib_rules.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-09-07 00:38:39 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-10-03 11:12:25 +0200
commitf9ebd1bb41031afc162e9acda7ad044a35bccf82 (patch)
tree2c37979d6b398a182a6cb4e794e1b3429dbd4d89 /include/uapi/linux/fib_rules.h
parentcdc784c743945f445a26f4c0bd60a50a1adb39c4 (diff)
downloadblackbird-op-linux-f9ebd1bb41031afc162e9acda7ad044a35bccf82.tar.gz
blackbird-op-linux-f9ebd1bb41031afc162e9acda7ad044a35bccf82.zip
mtd: rawnand: Deprecate ->erase()
The ->erase() hook have been overloaded by some drivers for bad reasons: either the driver was not fitting in the NAND framework and should have been an MTD driver (docg4), or the driver uses a specific path for the ERASE operation (denali), instead of implementing it generically. In any case, we should discourage people from overloading this method and encourage them to implement ->exec_op() instead. Move the ->erase() hook to the nand_legacy struct to make it clear. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/uapi/linux/fib_rules.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud