misc: emif: fix compilation error
PATCH 1/1 misc: emif: fix compilation error
commit 99d3eccf (ARM: OMAP4/5: EMIF: Probe Emif driver with initcall) introduced a compile error by not removing module_init() when adding postcore_initcall().
This problem would've been caught by just compiling the driver as module.
Fix the issue by removing module_init() from the driver.
--- drivers/misc/emif.c | 1 - 1 file changed, 1 deletion(-)
drivers/misc/emif.c +0 -1
@@ -1663,7 +1663,6 @@ static void __exit emif_unregister(void) }postcore_initcall (emif_register); -module_init (emif_register);module_exit (emif_unregister);MODULE_DESCRIPTION ("TI EMIF SDRAM Controller Driver" );MODULE_LICENSE ("GPL" );
Signature · 1 line
1.7.10.2
drivers/misc/emif.c
Quoted 20 lines · Felipe Balbi
commit
99d3eccf(ARM: OMAP4/5: EMIF: Probe Emif driver with initcall) introduced a compile error by not removingmodule_init()when addingpostcore_initcall().This problem would've been caught by just compiling the driver as module.
Fix the issue by removing
module_init()from the driver.Signed-off-by Felipe Balbi <[email protected]>---
drivers/misc/emif.c | 1 -1 file changed, 1 deletion(-)drivers/misc/emif.c +0
-0
This driver is in drivers/memory now and this patch is certainly not applicable. Looks like you might have seen this issue with the older, internal version of the driver.
Regards
Santosh
Quoted 17 lines · Santosh
Quoted 16 lines · Felipe Balbi
commit
99d3eccf(ARM: OMAP4/5: EMIF: Probe Emif driver with initcall) introduced a compile error by not removingmodule_init()when addingpostcore_initcall().This problem would've been caught by just compiling the driver as module.
Fix the issue by removing
module_init()from the driver.Signed-off-by Felipe Balbi <[email protected]>---
drivers/misc/emif.c | 1 -1 file changed, 1 deletion(-)
Quoted 8 lines
drivers/misc/emif.c
Quoted 4 lines
drivers/misc/emif.c +0
-0This driver is in
drivers/memorynow and this patch is certainly not applicable. Looks like you might have seen this issue with the older, internal version of the driver.
could be.. I probably merged something I shouldn't on my master branch ;-)
Weird is that my master is built on top of v3.4... anyway.. forget about this patch, sorry for the noise.
Signature · 1 line
balbi