Re: [PATCH 10/15] mtd: Add some fallbacks for add/del_mtd_device

2023-11-02 Thread Dario Binacchi
Sean, All On Sun, Oct 29, 2023 at 4:49 AM Sean Anderson wrote: > > 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 > --- > > drivers/mtd/nand/raw/nand.c | 2 -- >

[PATCH 10/15] mtd: Add some fallbacks for add/del_mtd_device

2023-10-28 Thread Sean Anderson
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 --- drivers/mtd/nand/raw/nand.c | 2 -- drivers/mtd/onenand/onenand_uboot.c | 2 -- include/linux/mtd/mtd.h | 12