summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/denali.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-23 22:18:43 +0900
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-11-30 22:32:49 +0100
commitc9e916a4b462104cdd463b8749cf1345f3ad0577 (patch)
treefeeb08ca462507844ac1e94d91e613ec8abe2874 /drivers/mtd/nand/denali.h
parentbccb06c353af3764ca86d9da47652458e6c2eb41 (diff)
downloadlwn-c9e916a4b462104cdd463b8749cf1345f3ad0577.tar.gz
lwn-c9e916a4b462104cdd463b8749cf1345f3ad0577.zip
mtd: nand: remove unnecessary extern from driver headers
'extern' is not necessary for function declarations. scripts/checkpatch.pl with --strict option reports the following: CHECK: extern prototypes should be avoided in .h files Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/denali.h')
-rw-r--r--drivers/mtd/nand/denali.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h
index 2911066dacac..9ad33d237378 100644
--- a/drivers/mtd/nand/denali.h
+++ b/drivers/mtd/nand/denali.h
@@ -329,7 +329,7 @@ struct denali_nand_info {
#define DENALI_CAP_DMA_64BIT BIT(1)
int denali_calc_ecc_bytes(int step_size, int strength);
-extern int denali_init(struct denali_nand_info *denali);
-extern void denali_remove(struct denali_nand_info *denali);
+int denali_init(struct denali_nand_info *denali);
+void denali_remove(struct denali_nand_info *denali);
#endif /* __DENALI_H__ */