OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 0eb1cfffd5433d8dce3e4163a5cd9accc6000856 Mon Sep 17 00:00:00 2001 |
2 | From: Tobias Wolf <dev-NTEO@vplace.de> |
||
3 | Date: Wed, 5 Sep 2018 08:51:26 +0200 |
||
4 | Subject: [PATCH] MIPS: pci-rt2880: set pci controller of_node |
||
5 | |||
6 | Set the PCI controller of_node such that PCI devices can be |
||
7 | instantiated via device tree. |
||
8 | |||
9 | Signed-off-by: Tobias Wolf <dev-NTEO@vplace.de> |
||
10 | Signed-off-by: Mathias Kresin <dev@kresin.me> |
||
11 | Acked-by: John Crispin <john@phrozen.org> |
||
12 | Signed-off-by: Paul Burton <paul.burton@mips.com> |
||
13 | Patchwork: https://patchwork.linux-mips.org/patch/20423/ |
||
14 | Cc: Ralf Baechle <ralf@linux-mips.org> |
||
15 | Cc: James Hogan <jhogan@kernel.org> |
||
16 | Cc: linux-mips@linux-mips.org |
||
17 | Cc: linux-kernel@vger.kernel.org |
||
18 | --- |
||
19 | arch/mips/pci/pci-rt2880.c | 2 ++ |
||
20 | 1 file changed, 2 insertions(+) |
||
21 | |||
22 | --- a/arch/mips/pci/pci-rt2880.c |
||
23 | +++ b/arch/mips/pci/pci-rt2880.c |
||
24 | @@ -246,6 +246,8 @@ static int rt288x_pci_probe(struct platf |
||
25 | rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000); |
||
26 | (void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0); |
||
27 | |||
28 | + rt2880_pci_controller.of_node = pdev->dev.of_node; |
||
29 | + |
||
30 | register_pci_controller(&rt2880_pci_controller); |
||
31 | return 0; |
||
32 | } |