aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/au1550nd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r--drivers/mtd/nand/au1550nd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index 87d34351a86d..861fb961d942 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -321,7 +321,7 @@ int au1550_device_ready(struct mtd_info *mtd)
321/* 321/*
322 * Main initialization routine 322 * Main initialization routine
323 */ 323 */
324int __init au1xxx_nand_init(void) 324static int __init au1xxx_nand_init(void)
325{ 325{
326 struct nand_chip *this; 326 struct nand_chip *this;
327 u16 boot_swapboot = 0; /* default value */ 327 u16 boot_swapboot = 0; /* default value */
@@ -480,7 +480,6 @@ module_init(au1xxx_nand_init);
480/* 480/*
481 * Clean up routine 481 * Clean up routine
482 */ 482 */
483#ifdef MODULE
484static void __exit au1550_cleanup(void) 483static void __exit au1550_cleanup(void)
485{ 484{
486 struct nand_chip *this = (struct nand_chip *)&au1550_mtd[1]; 485 struct nand_chip *this = (struct nand_chip *)&au1550_mtd[1];
@@ -496,7 +495,6 @@ static void __exit au1550_cleanup(void)
496} 495}
497 496
498module_exit(au1550_cleanup); 497module_exit(au1550_cleanup);
499#endif
500 498
501MODULE_LICENSE("GPL"); 499MODULE_LICENSE("GPL");
502MODULE_AUTHOR("Embedded Edge, LLC"); 500MODULE_AUTHOR("Embedded Edge, LLC");