From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 24 Sep 2014 11:20:36 +0200 From: Robert Richter To: Bjorn Helgaas Cc: Liviu Dudau , Liviu Dudau , Arnd Bergmann , Rob Herring , Jason Gunthorpe , Benjamin Herrenschmidt , Catalin Marinas , Will Deacon , Russell King , linux-pci , Linus Walleij , Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-arch , LKML , Device Tree ML , LAKML , Grant Likely , Thierry Reding , Simon Horman , Andrew Murray Subject: Re: [PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources. Message-ID: <20140924092036.GC20256@rric.localhost> References: <1411498874-9864-1-git-send-email-Liviu.Dudau@arm.com> <1411498874-9864-6-git-send-email-Liviu.Dudau@arm.com> <20140924002253.GB27357@google.com> <20140924011249.GC32643@bart.dudau.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: On 23.09.14 19:16:19, Bjorn Helgaas wrote: > You probably saw the subsequent [pci:pci/host-generic 10/13] > drivers/of/of_pci.c:202:3: error: implicit declaration of function > 'of_pci_range_to_resource' error. > > I looked at that a bit, but gave up. Apparently drivers/of/of_pci.c > can be compiled with CONFIG_PCI=y but CONFIG_OF_ADDRESS not set.. This is due to the !SPARC dependency in drivers/of/Kconfig: config OF_ADDRESS def_bool y depends on !SPARC select OF_ADDRESS_PCI if PCI Error above occurs with ARCH=sparc. -Robert