Re: [PATCH v4 1/6] PCI: spacemit-k1: Add device data support
Andy Shevchenko <[email protected]> Thu, 9 Jul 2026 10:09:06 +0300
| Newsgroups | dev.linux.lists.spacemit,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
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