diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-19 14:34:59 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-19 11:17:21 -0700 |
commit | 339135ff1b5fca9a323ca7af67cebefedf50d4e7 (patch) | |
tree | 63ebc1f49f8414908573328bddecc330729bfb6e /drivers/pci/host/pci-mvebu.c | |
parent | 84f47190d6be1cb99cd4a680e1018080d93800a8 (diff) |
PCI: mvebu: Remove redundant of_match_ptr
mvebu_pcie_of_match_table is always compiled in. Hence of_match_ptr is not
required.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/pci/host/pci-mvebu.c')
-rw-r--r-- | drivers/pci/host/pci-mvebu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index 6f35df5fedce..afd2af04980c 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -1007,8 +1007,7 @@ static struct platform_driver mvebu_pcie_driver = { .driver = { .owner = THIS_MODULE, .name = "mvebu-pcie", - .of_match_table = - of_match_ptr(mvebu_pcie_of_match_table), + .of_match_table = mvebu_pcie_of_match_table, /* driver unloading/unbinding currently not supported */ .suppress_bind_attrs = true, }, |