Skip to contentSkip to conversation

mach-sa1100: add missing module_init() call

PATCH New Linus Walleij 2 participants 2 messages Jan 19, 2012 – Jan 21, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mach-sa1100: add missing module_init() call

The Jornada SSP driver is supposed to be initialized by a module_init() call, but it was missed at some merge point. Since the driver mostly pass calls through it magically works anyway, but needs to be rectified.

Cc Kristoffer Ericson <[email protected]>
---
 arch/arm/mach-sa1100/jornada720_ssp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-sa1100/jornada720_ssp.c +2 -0
index f50b00b..b412fc0 100644
@@ -198,3 +198,5 @@ static int __init jornada_ssp_init(void)
 {
 	return platform_driver_register(&jornadassp_driver);
 }
+
+module_init(jornada_ssp_init);
Signature · 1 line
1.7.7.5
#1 lore raw

PATCH 1/1 mach-sa1100: add missing module_init() call

Quoted 7 lines · Linus Walleij

The Jornada SSP driver is supposed to be initialized by a module_init() call, but it was missed at some merge point. Since the driver mostly pass calls through it magically works anyway, but needs to be rectified.

Cc Kristoffer Ericson <[email protected]>

Thanks for spotting this :)

Quoted 16 lines
---
 arch/arm/mach-sa1100/jornada720_ssp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-sa1100/jornada720_ssp.c +2 -0
index f50b00b..b412fc0 100644
@@ -198,3 +198,5 @@ static int __init jornada_ssp_init(void)
 {
 	return platform_driver_register(&jornadassp_driver);
 }
+
+module_init(jornada_ssp_init);
Signature · 1 line
1.7.7.5