|
@@ -26,6 +26,7 @@
|
|
|
#include <linux/irqdomain.h>
|
|
|
#include <linux/kernel.h>
|
|
|
#include <linux/mfd/syscon.h>
|
|
|
+#include <linux/module.h>
|
|
|
#include <linux/of_address.h>
|
|
|
#include <linux/of_device.h>
|
|
|
#include <linux/of_pci.h>
|
|
@@ -1468,6 +1469,7 @@ static const struct of_device_id rockchip_pcie_of_match[] = {
|
|
|
{ .compatible = "rockchip,rk3399-pcie", },
|
|
|
{}
|
|
|
};
|
|
|
+MODULE_DEVICE_TABLE(of, rockchip_pcie_of_match);
|
|
|
|
|
|
static struct platform_driver rockchip_pcie_driver = {
|
|
|
.driver = {
|
|
@@ -1478,4 +1480,8 @@ static struct platform_driver rockchip_pcie_driver = {
|
|
|
.probe = rockchip_pcie_probe,
|
|
|
.remove = rockchip_pcie_remove,
|
|
|
};
|
|
|
-builtin_platform_driver(rockchip_pcie_driver);
|
|
|
+module_platform_driver(rockchip_pcie_driver);
|
|
|
+
|
|
|
+MODULE_AUTHOR("Rockchip Inc");
|
|
|
+MODULE_DESCRIPTION("Rockchip AXI PCIe driver");
|
|
|
+MODULE_LICENSE("GPL v2");
|