From: Bjorn Helgaas Date: Sat, 14 Nov 2009 00:34:29 +0000 (-0700) Subject: x86/PCI: MMCONFIG: add resource to struct pci_mmcfg_region X-Git-Tag: v2.6.33-rc1~321^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ddf4d3cf04e80254d3d721c6bea2f8ec44c41a;p=pandora-kernel.git x86/PCI: MMCONFIG: add resource to struct pci_mmcfg_region This patch adds a resource and corresponding name to the MMCONFIG structure. This makes allocation simpler (we can allocate the resource and name at the same time we allocate the pci_mmcfg_region), and gives us a way to hang onto the resource after inserting it. This will be needed so we can release and free it when hot-removing a host bridge. Reviewed-by: Yinghai Lu Signed-off-by: Bjorn Helgaas Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed