summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/am200epd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/am200epd.c')
-rw-r--r--arch/arm/mach-pxa/am200epd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/am200epd.c b/arch/arm/mach-pxa/am200epd.c
index b965085a37b9..fd6142054578 100644
--- a/arch/arm/mach-pxa/am200epd.c
+++ b/arch/arm/mach-pxa/am200epd.c
@@ -331,7 +331,7 @@ static struct metronome_board am200_board = {
.cleanup = am200_cleanup,
};
-static int __init am200_init(void)
+int __init am200_init(void)
{
int ret;
@@ -367,8 +367,6 @@ static int __init am200_init(void)
module_param(panel_type, uint, 0);
MODULE_PARM_DESC(panel_type, "Select the panel type: 6, 8, 97");
-module_init(am200_init);
-
MODULE_DESCRIPTION("board driver for am200 metronome epd kit");
MODULE_AUTHOR("Jaya Kumar");
MODULE_LICENSE("GPL");