[PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

Robert Richter rric at kernel.org
Wed Sep 24 02:20:36 PDT 2014


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



More information about the linux-arm-kernel mailing list