diff options
| author | Kevin Hilman <[email protected]> | 2020-09-18 18:12:51 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2020-10-05 12:01:42 +0000 |
| commit | a98d2187efd9e6d554efb50e3ed3a2983d340fe5 (patch) | |
| tree | 0316a935a87bf75768702a0eac03f99e3cf049e1 /drivers/pci/controller/dwc/pci-meson.c | |
| parent | Linux 5.9-rc1 (diff) | |
| download | kernel-a98d2187efd9e6d554efb50e3ed3a2983d340fe5.tar.gz kernel-a98d2187efd9e6d554efb50e3ed3a2983d340fe5.zip | |
PCI: meson: Build as module by default
Enable pci-meson to build as a module whenever ARCH_MESON is enabled.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Cc: Yue Wang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-meson.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-meson.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-meson.c b/drivers/pci/controller/dwc/pci-meson.c index 4f183b96afbb..35b167e907aa 100644 --- a/drivers/pci/controller/dwc/pci-meson.c +++ b/drivers/pci/controller/dwc/pci-meson.c @@ -17,6 +17,7 @@ #include <linux/resource.h> #include <linux/types.h> #include <linux/phy/phy.h> +#include <linux/module.h> #include "pcie-designware.h" @@ -589,6 +590,7 @@ static const struct of_device_id meson_pcie_of_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, meson_pcie_of_match); static struct platform_driver meson_pcie_driver = { .probe = meson_pcie_probe, @@ -598,4 +600,8 @@ static struct platform_driver meson_pcie_driver = { }, }; -builtin_platform_driver(meson_pcie_driver); +module_platform_driver(meson_pcie_driver); + +MODULE_AUTHOR("Yue Wang <[email protected]>"); +MODULE_DESCRIPTION("Amlogic PCIe Controller driver"); +MODULE_LICENSE("GPL v2"); |
