diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-21 05:06:41 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-30 12:01:03 -0400 |
commit | 8bcadbe17207aee0df4a1f5cb41371d71bf3e4b0 (patch) | |
tree | a55674ccd8af6a3b5993509da6dd0d479c8d5fe1 | |
parent | 017f10e1c78e14d48be7a28f2c33a32dae15fee5 (diff) |
PCI: imx6: Remove redundant of_match_ptr
imx6_pcie_of_match is always compiled in because PCI_IMX6 depends on
SOC_IMX6Q, which only supports OF build. Hence of_match_ptr is not
required.
[bhelgaas: add changelog details from Shawn]
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Sean Cross <xobs@kosagi.com>
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index baafb397a698..0a435b8f54c2 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c | |||
@@ -551,7 +551,7 @@ static struct platform_driver imx6_pcie_driver = { | |||
551 | .driver = { | 551 | .driver = { |
552 | .name = "imx6q-pcie", | 552 | .name = "imx6q-pcie", |
553 | .owner = THIS_MODULE, | 553 | .owner = THIS_MODULE, |
554 | .of_match_table = of_match_ptr(imx6_pcie_of_match), | 554 | .of_match_table = imx6_pcie_of_match, |
555 | }, | 555 | }, |
556 | }; | 556 | }; |
557 | 557 | ||