x86/PCI: embed pci_sysdata into pci_root_info on ACPI path
authorYinghai Lu <yinghai@kernel.org>
Tue, 3 Apr 2012 01:31:53 +0000 (18:31 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 30 Apr 2012 20:52:43 +0000 (14:52 -0600)
commit35cb05e5bdac209cfdfafbe50d89ee7069cb6237
tree333b7682f5dc68e54dd2427e80be19c31fbe0e28
parentfe05725ff97530e26109a0c3d52cef7fff326e15
x86/PCI: embed pci_sysdata into pci_root_info on ACPI path

Embed the x86 struct pci_sysdata in the struct pci_root_info so it
will be automatically freed in the remove path.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/acpi.c