diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2016-12-06 10:51:29 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-07 17:56:02 -0500 |
commit | 7b99d94277ba49f401b7a5c1ad8a9084cc6c34a6 (patch) | |
tree | 4093ee185895f946e90efbfa50e39bda49dfd81f | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
PCI: rcar-gen2: Use gen2 fallback compatibility last
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>
-rw-r--r-- | drivers/pci/host/pci-rcar-gen2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index 1eeefa4df64c..85348590848b 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/host/pci-rcar-gen2.c | |||
@@ -430,10 +430,10 @@ static int rcar_pci_probe(struct platform_device *pdev) | |||
430 | } | 430 | } |
431 | 431 | ||
432 | static struct of_device_id rcar_pci_of_match[] = { | 432 | static struct of_device_id rcar_pci_of_match[] = { |
433 | { .compatible = "renesas,pci-rcar-gen2", }, | ||
434 | { .compatible = "renesas,pci-r8a7790", }, | 433 | { .compatible = "renesas,pci-r8a7790", }, |
435 | { .compatible = "renesas,pci-r8a7791", }, | 434 | { .compatible = "renesas,pci-r8a7791", }, |
436 | { .compatible = "renesas,pci-r8a7794", }, | 435 | { .compatible = "renesas,pci-r8a7794", }, |
436 | { .compatible = "renesas,pci-rcar-gen2", }, | ||
437 | { }, | 437 | { }, |
438 | }; | 438 | }; |
439 | 439 | ||