[PATCH v4 1/6] PCI: spacemit-k1: Add device data support
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Thu Jul 9 00:09:06 PDT 2026
On Thu, Jul 09, 2026 at 12:00:21PM +0800, Inochi Amaoto wrote:
> To reuse the K1 PCIe driver logic for K3 PCIe controller, add device
> data to handle the K1 specific logic and make room for the incoming
> logic for K3.
...
> static const struct of_device_id k1_pcie_of_match_table[] = {
> - { .compatible = "spacemit,k1-pcie", },
> + { .compatible = "spacemit,k1-pcie", .data = &k1_pcie_device_data},
Missing space before }.
> { }
> };
--
With Best Regards,
Andy Shevchenko
More information about the linux-riscv
mailing list