mtd: nand: denali: remove bogus __maybe_unused
denali_setup_data_interface() is always used. I put __maybe_unused for a temporal use, then forgot to delete it. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
ac389b0749
commit
1a7e176d27
@ -938,7 +938,7 @@ static int denali_erase(struct mtd_info *mtd, int page)
|
||||
return irq_status & INTR__ERASE_COMP ? 0 : NAND_STATUS_FAIL;
|
||||
}
|
||||
|
||||
static int __maybe_unused denali_setup_data_interface(struct mtd_info *mtd, int chipnr,
|
||||
static int denali_setup_data_interface(struct mtd_info *mtd, int chipnr,
|
||||
const struct nand_data_interface *conf)
|
||||
{
|
||||
struct denali_nand_info *denali = mtd_to_denali(mtd);
|
||||
|
Loading…
Reference in New Issue
Block a user