Message ID | 5714C6F6.8050600@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On 18.04.2016 13:37, liudongdong (C) wrote: > Hi Tomasz > > I merged my patchset to branch topci-acpi-v6. > The patchset is used for Hisilicon DO2 PCIe ACPI support. > I found some compile errors. The log as below. > drivers/pci/host/pcie-hisi-acpi.c: In function 'hisi_pcie_init': > drivers/pci/host/pcie-hisi-acpi.c:130:6: error: 'struct acpi_pci_root' > has no member named 'sysdata' > root->sysdata = reg_base; > > In your PATCH V5, add "sysdata" for strcut acpi_pci_root, but PATCH V6 > has not add it. > In my patch, I used root->sysdata which will be available along > read/write accessor. > I want to know the reason this v6 patchset does not add "sysdata". I > need this. We are handling this different way. You can now use "struct pci_config_window" -> priv, see pci-thunder-pem.c driver. Tomasz -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 14362a8..0fc6f13 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -556,6 +556,7 @@ struct acpi_pci_root { struct pci_bus *bus; u16 segment; struct resource secondary; /* downstream bus range */ + void *sysdata; u32 osc_support_set; /* _OSC state of support bits */ u32 osc_control_set; /* _OSC state of control bits */