aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/am200epd.c
diff options
context:
space:
mode:
authorJaya Kumar <jayakumar.lkml@gmail.com>2008-12-09 22:14:29 +0800
committerEric Miao <eric.miao@marvell.com>2008-12-17 22:51:38 +0800
commit3332b0c17969d91d8868d2d003e685c420d84262 (patch)
treeea706af11e2473c8336bb6ec28d22f2d11b21a7f /arch/arm/mach-pxa/am200epd.c
parent07f651c72ac0530033883c113939d9b9c7fa75e5 (diff)
[ARM] pxa/gumstix: fix incorrect init done by am200
Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com> Cc: Andre Puschmann <andre.puschmann@imms.de> Signed-off-by: Eric Miao <eric.miao@marvell.com>
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 b965085a37b..fd614205457 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");