Re: [PATCH v12 05/12] PCI: OF: Fix the conversion of IO ranges into IO resources.
From: Robert Richter
Date: Wed Sep 24 2014 - 05:21:09 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/