]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ARM64: 7648/1: pci: Allow passing per-controller private data
authorVidya Sagar <vidyas@nvidia.com>
Tue, 1 Jul 2014 11:29:49 +0000 (16:59 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Jul 2014 06:04:30 +0000 (23:04 -0700)
commit72fd628c7645f66307e087dd81d066597f759d04
tree1007279ffdfa1d6517c042bdbcd894ef589d8b09
parent1a967b43595481dfc009a736e2bd71212dae0bcc
ARM64: 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.

vidyas: make the similar change for ARM64
based on upstream commit 352af7d4dd90bac3640ad2383e4e9f332d3a4537

Bug 200012096

Change-Id: I5bdc33dbb2cf543e69d4c67154d3d0c64843e7af
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/433159
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm64/include/asm/mach/pci.h
arch/arm64/kernel/bios32.c