|
@@ -521,11 +521,11 @@ static void pci_release_host_bridge_dev(struct device *dev)
|
|
|
kfree(bridge);
|
|
|
}
|
|
|
|
|
|
-static struct pci_host_bridge *pci_alloc_host_bridge(void)
|
|
|
+static struct pci_host_bridge *pci_alloc_host_bridge(size_t priv)
|
|
|
{
|
|
|
struct pci_host_bridge *bridge;
|
|
|
|
|
|
- bridge = kzalloc(sizeof(*bridge), GFP_KERNEL);
|
|
|
+ bridge = kzalloc(sizeof(*bridge) + priv, GFP_KERNEL);
|
|
|
if (!bridge)
|
|
|
return NULL;
|
|
|
|
|
@@ -2253,7 +2253,7 @@ static struct pci_bus *pci_create_root_bus_msi(struct device *parent,
|
|
|
int error;
|
|
|
struct pci_host_bridge *bridge;
|
|
|
|
|
|
- bridge = pci_alloc_host_bridge();
|
|
|
+ bridge = pci_alloc_host_bridge(0);
|
|
|
if (!bridge)
|
|
|
return NULL;
|
|
|
|