Randy Dunlap wrote:
Fromy: Randy Dunlap randy.dunlap@oracle.com
Fix two staging drivers to use module_init()/module_exit() instead of default init_module() and cleanup_module() function names so that there are no name conflicts when both are built-in.
drivers/staging/dt3155/built-in.o: In function `cleanup_module': (.text+0xc0): multiple definition of `cleanup_module' drivers/staging/batman-adv/built-in.o:(.text+0x330): first defined here drivers/staging/dt3155/built-in.o: In function `init_module': (.text+0xe60): multiple definition of `init_module' drivers/staging/batman-adv/built-in.o:(.text+0x400): first defined here
Signed-off-by: Randy Dunlap randy.dunlap@oracle.com Cc: Scott Smedley ss@aao.gov.au Cc: Marek Lindner lindner_marek@yahoo.de Cc: Simon Wunderlich siwu@hrz.tu-chemnitz.de Cc: Andrew Lunn andrew@lunn.ch Cc: b.a.t.m.a.n@lists.open-mesh.net Cc: Greg Kroah-Hartman <gregkh@suse.de
@Randy Dunlap: Thanks a lot for your patch.
The Patch was splitted and added to maint. Can somebody please add it to trunk.
Best regards, Sven