summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Draszik <draszik@google.com>2024-03-26 12:09:45 +0000
committerWill McVicker <willmcvicker@google.com>2024-05-16 05:38:26 -0700
commit80549392b07866dbf280a9bd9ce8e089d9e809e0 (patch)
tree2208ab2228496fa69668a02aa4dcc71cbf7c6f97
parentd10e3253486dc2d2ddf78b3b6eaa9cc1bc3dcd2c (diff)
downloadbcm4389-android-gs-raviole-mainline.tar.gz
bcmdhd: struct pci_driver::node is gone (v6.8 compatibility)android-gs-raviole-mainline
Linux commit [1] has removed struct pci_driver::node. This causes this OOT pixel driver to fail compilation: .../wlan/bcmdhd4389/dhd_pcie_linux.c:273:26: error: no member named 'node' in 'struct pci_driver' 273 | node: {&dhdpcie_driver.node, &dhdpcie_driver.node}, | ~~~~~~~~~~~~~~ ^ .../wlan/bcmdhd4389/dhd_pcie_linux.c:273:48: error: no member named 'node' in 'struct pci_driver' 273 | node: {&dhdpcie_driver.node, &dhdpcie_driver.node}, | ~~~~~~~~~~~~~~ ^ 2 errors generated. This hasn't been needed for more than 20 years, so just remove the assignment here. Test: TH Bug: 331358284 Change-Id: Idbc6f06ac5e2db0821d5a0e1c9632bacaf52f818 Signed-off-by: André Draszik <draszik@google.com>
-rw-r--r--dhd_pcie_linux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dhd_pcie_linux.c b/dhd_pcie_linux.c
index 39b5c6d..d73ed19 100644
--- a/dhd_pcie_linux.c
+++ b/dhd_pcie_linux.c
@@ -270,7 +270,6 @@ static const struct dev_pm_ops dhd_pcie_pm_ops = {
#endif /* DHD_PCIE_RUNTIMEPM */
static struct pci_driver dhdpcie_driver = {
- node: {&dhdpcie_driver.node, &dhdpcie_driver.node},
name: "pcieh",
id_table: dhdpcie_pci_devid,
probe: dhdpcie_pci_probe,