ARM: 7648/1: pci: Allow passing per-controller private data
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 11 Feb 2013 07:46:10 +0000 (08:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 16 Feb 2013 17:54:25 +0000 (17:54 +0000)
commit352af7d4dd90bac3640ad2383e4e9f332d3a4537
treef324bc26229909f82df0a7f324f998d5da65a9bf
parent276fd3c5f8a21f9d7d398383b818d5d0ac81db23
ARM: 7648/1: pci: Allow passing per-controller private data

In order to allow drivers to specify private data for each controller,
this commit adds a private_data field to the struct hw_pci. This field
is an array of nr_controllers pointers that will be used to initialize
the private_data field of the corresponding controller's pci_sys_data
structure.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/pci.h
arch/arm/kernel/bios32.c