Hello,
I'm trying to compile DM365 ipipe as a module, but compilation fails:
LD [M] drivers/char/dm365_imp.o
drivers/char/dm3xx_ipipe.o: In function `init_module':
dm3xx_ipipe.c:(.text+0x36c): multiple definition of `init_module'
drivers/char/dm365_ipipe.o:dm365_ipipe.c:(.text+0x591c): first defined here
drivers/char/dm3xx_ipipe.o: In function `cleanup_module':
dm3xx_ipipe.c:(.text+0xe4): multiple definition of `cleanup_module'
drivers/char/dm365_ipipe.o:dm365_ipipe.c:(.text+0x1dc0): first defined here
make[2]: *** [drivers/char/dm365_imp.o] Error 1
make[1]: *** [drivers/char] Error 2
Basically it seems that both dm3xx_ipipe.c and dm365_ipipe.c are compiled in and they conflict on the definition of "init_module".