From: Sachin Kamat Date: Mon, 21 Oct 2013 09:06:41 +0000 (+0530) Subject: PCI: imx6: Remove redundant of_match_ptr X-Git-Tag: v3.13-rc1~95^2~6^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bcadbe17207aee0df4a1f5cb41371d71bf3e4b0;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Shawn Guo Cc: Sean Cross --- diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index baafb39..0a435b8 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 = { .driver = { .name = "imx6q-pcie", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(imx6_pcie_of_match), + .of_match_table = imx6_pcie_of_match, }, };