]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI: rcar-gen2: Use gen2 fallback compatibility last
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Dec 2016 15:51:29 +0000 (16:51 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Dec 2016 22:56:02 +0000 (16:56 -0600)
Improve readability by listing fallback compatibility strings after the
more-specific compatibility strings they provide a fallback for.

This does not affect run-time behaviour as it is the order in the DTB that
determines which compatibility string is used.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-rcar-gen2.c

index 1eeefa4df64c5059de0353f5de8f3ab4019fdc8a..85348590848bdf16f2d8745179d90f582dd2c2c4 100644 (file)
@@ -430,10 +430,10 @@ static int rcar_pci_probe(struct platform_device *pdev)
 }
 
 static struct of_device_id rcar_pci_of_match[] = {
-       { .compatible = "renesas,pci-rcar-gen2", },
        { .compatible = "renesas,pci-r8a7790", },
        { .compatible = "renesas,pci-r8a7791", },
        { .compatible = "renesas,pci-r8a7794", },
+       { .compatible = "renesas,pci-rcar-gen2", },
        { },
 };