public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* compile error when building multiple EHCI host controllers as modules
@ 2006-03-23 22:26 Kumar Gala
  2006-03-24  6:33 ` [linux-usb-devel] " David Brownell
  0 siblings, 1 reply; 12+ messages in thread
From: Kumar Gala @ 2006-03-23 22:26 UTC (permalink / raw)
  To: Greg KH, dbrownell; +Cc: linux-usb-devel, LKML mailing list

I was trying to build the USB EHCI host controller support as modules  
for a PowerPC 834x which also has an embedded EHCI (and PCI enabled).

I get the following build error:

In file included from drivers/usb/host/ehci-hcd.c:895:
drivers/usb/host/ehci-fsl.c:365: error: redefinition of '__inittest'
drivers/usb/host/ehci-pci.c:363: error: previous definition of  
'__inittest' was here
drivers/usb/host/ehci-fsl.c:365: error: redefinition of 'init_module'
drivers/usb/host/ehci-pci.c:363: error: previous definition of  
'init_module' was here
drivers/usb/host/ehci-fsl.c:365: error: redefinition of 'init_module'
drivers/usb/host/ehci-pci.c:363: error: previous definition of  
'init_module' was here
drivers/usb/host/ehci-fsl.c:366: error: redefinition of '__exittest'
drivers/usb/host/ehci-pci.c:369: error: previous definition of  
'__exittest' was here
drivers/usb/host/ehci-fsl.c:366: error: redefinition of 'cleanup_module'
drivers/usb/host/ehci-pci.c:369: error: previous definition of  
'cleanup_module' was here
drivers/usb/host/ehci-fsl.c:366: error: redefinition of 'cleanup_module'
drivers/usb/host/ehci-pci.c:369: error: previous definition of  
'cleanup_module' was here

Which makes sense based on how ehci-hcd.c includes "ehci-fsl.c" and  
"ehci-pci.c".  I was wondering if there were an thoughts on how to  
address this so I can build as a module.

- kumar

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-04-11 15:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 22:26 compile error when building multiple EHCI host controllers as modules Kumar Gala
2006-03-24  6:33 ` [linux-usb-devel] " David Brownell
2006-03-24 16:59   ` Kumar Gala
2006-03-24 20:32     ` Kumar Gala
2006-03-28 16:18       ` Kumar Gala
2006-03-28 17:51       ` Matthieu CASTET
2006-04-04  2:48       ` [linux-usb-devel] " David Brownell
2006-04-04  4:23         ` Kumar Gala
2006-04-05 17:32           ` Kumar Gala
2006-04-10 19:11             ` David Brownell
2006-04-10 19:16               ` Kumar Gala
2006-04-11 15:07                 ` [PATCH] usb: allow multiple types of EHCI controllers to be built " Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox