]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: Add some fallbacks for add/del_mtd_device
authorSean Anderson <seanga2@gmail.com>
Sat, 4 Nov 2023 20:37:48 +0000 (16:37 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 17:43:49 +0000 (12:43 -0500)
commitb37a9208a2ed36b67303e8169539c1a0c42ea0e1
tree5b958efb63b2394b3d959a84eba861cfb2c39e62
parentb35df87ae5c812d09c82e3c329b01275ab5bd41b
mtd: Add some fallbacks for add/del_mtd_device

This allows using these functions without ifdefs. OneNAND depends on MTD,
so this ifdef was redundant in the first place.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand.c
drivers/mtd/onenand/onenand_uboot.c
include/linux/mtd/mtd.h