From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17748.19234.278295.476881@cargo.ozlabs.ibm.com> Date: Fri, 10 Nov 2006 20:49:22 +1100 From: Paul Mackerras To: Benjamin Herrenschmidt Subject: Re: 2.6.19-rc5-mm1 -- ppc64 ohci-hdc.c compile failure In-Reply-To: <1163112227.4982.44.camel@localhost.localdomain> References: <20061108015452.a2bb40d2.akpm@osdl.org> <4553436D.30601@shadowen.org> <1163112227.4982.44.camel@localhost.localdomain> Cc: Andrew Morton , Steve Fox , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Benjamin Herrenschmidt writes: > > Seems that the patch below has introduced USB_OHCI_HCD_PPC_OF enabled by > > default. When it and CONFIG_USB_OHCI_HCD_PPC_SOC are enabled which > > occured by default on my config then we end up with two module_init() > > calls, which is illegal. > > > > powerpc-add-of_platform-support-for-ohci-bigendian-hc > > > > I am guessing that we are only meant to be able to have one of these > > defined at a time? I changed the default to n for this and I could at > > least compile the kernel, but I am sure thats not the right fix. > > Paul, which patch did you merge ? I rejected the initial one that was > doing 2 drivers/probe routines and Nicolas did a new one.. You may have > taken the wrong one. I didn't merge either of them. Paul.