projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'perf-urgent-for-mingo-20160809' of git://git.kernel.org/pub/scm/linux...
[deliverable/linux.git]
/
drivers
/
pci
/
host
/
pci-thunder-ecam.c
diff --git
a/drivers/pci/host/pci-thunder-ecam.c
b/drivers/pci/host/pci-thunder-ecam.c
index 540d030613eb9485b7ab163f0ddd0da747fdda10..d50a3dc2d8db127e225df7bfd24dd435500526cc 100644
(file)
--- a/
drivers/pci/host/pci-thunder-ecam.c
+++ b/
drivers/pci/host/pci-thunder-ecam.c
@@
-7,14
+7,13
@@
*/
#include <linux/kernel.h>
*/
#include <linux/kernel.h>
-#include <linux/
module
.h>
+#include <linux/
init
.h>
#include <linux/ioport.h>
#include <linux/of_pci.h>
#include <linux/of.h>
#include <linux/ioport.h>
#include <linux/of_pci.h>
#include <linux/of.h>
+#include <linux/pci-ecam.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>
-#include "../ecam.h"
-
static void set_val(u32 v, int where, int size, u32 *val)
{
int shift = (where & 3) * 8;
static void set_val(u32 v, int where, int size, u32 *val)
{
int shift = (where & 3) * 8;
@@
-360,7
+359,6
@@
static const struct of_device_id thunder_ecam_of_match[] = {
{ .compatible = "cavium,pci-host-thunder-ecam" },
{ },
};
{ .compatible = "cavium,pci-host-thunder-ecam" },
{ },
};
-MODULE_DEVICE_TABLE(of, thunder_ecam_of_match);
static int thunder_ecam_probe(struct platform_device *pdev)
{
static int thunder_ecam_probe(struct platform_device *pdev)
{
@@
-374,7
+372,4
@@
static struct platform_driver thunder_ecam_driver = {
},
.probe = thunder_ecam_probe,
};
},
.probe = thunder_ecam_probe,
};
-module_platform_driver(thunder_ecam_driver);
-
-MODULE_DESCRIPTION("Thunder ECAM PCI host driver");
-MODULE_LICENSE("GPL v2");
+builtin_platform_driver(thunder_ecam_driver);
This page took
0.02489 seconds
and
5
git commands to generate.