]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
PCI: imx6: Remove redundant of_match_ptr
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 21 Oct 2013 09:06:41 +0000 (14:36 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 30 Oct 2013 16:01:03 +0000 (10:01 -0600)
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>
drivers/pci/host/pci-imx6.c

index baafb397a698bfa8133582dedd02903fc27b8cfa..0a435b8f54c2aad7fd156e1c6fdbb00e2371d7cb 100644 (file)
@@ -551,7 +551,7 @@ static struct platform_driver imx6_pcie_driver = {
        .driver = {
                .name   = "imx6q-pcie",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(imx6_pcie_of_match),
+               .of_match_table = imx6_pcie_of_match,
        },
 };