[PATCH] ARM: pci: pass a parent to pci_common_init()

Arnd Bergmann arnd at arndb.de
Fri Apr 12 09:01:48 EDT 2013


On Friday 12 April 2013, Andrew Murray wrote:
> I would also be happy with this. Though alternatively could you
> not just add a struct device to hw_pci? Then change pcibios_init_hw
> to use hw->device instead of NULL?
> 

I think struct hw_pci is meant to be statically defined, so that would
not work if you need the same hw_pci for two host bridge devices.

	Arnd



More information about the linux-arm-kernel mailing list