diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-29 19:18:18 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-12-04 21:59:53 +0900 |
commit | 1a7e176d27eb54cf75b2c54dfe1a351cc434d1d5 (patch) | |
tree | 5e62f00507aaafb7ab8c77b8844f5b44db9a1d8f /drivers/mtd | |
parent | ac389b07493daa9db00749a415e679abcb1eb59a (diff) |
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/denali.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index b116d3a17c..7a87adc378 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -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); |