forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'remotes/lorenzo/pci/meson'
- Add pci-meson module support and enable by default on ARCH_MESON (Kevin Hilman) * remotes/lorenzo/pci/meson: PCI: meson: Build as module by default
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
||
|
@@ -507,6 +508,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, | ||
|
@@ -516,4 +518,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"); |