| From c2bba7499d4c150c2e0f733fa0721c55e88647c5 Mon Sep 17 00:00:00 2001 |
| From: Simon Horman <horms+renesas@verge.net.au> |
| Date: Tue, 6 Dec 2016 16:51:29 +0100 |
| Subject: [PATCH 031/299] 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> |
| (cherry picked from commit 7b99d94277ba49f401b7a5c1ad8a9084cc6c34a6) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/pci/host/pci-rcar-gen2.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- 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 platfor |
| } |
| |
| 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", }, |
| { }, |
| }; |
| |