File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -41,21 +41,6 @@ struct rcar_msi {
41
41
int irq2 ;
42
42
};
43
43
44
- #ifdef CONFIG_ARM
45
- /*
46
- * Here we keep a static copy of the remapped PCIe controller address.
47
- * This is only used on aarch32 systems, all of which have one single
48
- * PCIe controller, to provide quick access to the PCIe controller in
49
- * the L1 link state fixup function, called from the ARM fault handler.
50
- */
51
- static void __iomem * pcie_base ;
52
- /*
53
- * Static copy of PCIe device pointer, so we can check whether the
54
- * device is runtime suspended or not.
55
- */
56
- static struct device * pcie_dev ;
57
- #endif
58
-
59
44
/* Structure representing the PCIe interface */
60
45
struct rcar_pcie_host {
61
46
struct rcar_pcie pcie ;
@@ -879,12 +864,6 @@ static int rcar_pcie_get_resources(struct rcar_pcie_host *host)
879
864
}
880
865
host -> msi .irq2 = i ;
881
866
882
- #ifdef CONFIG_ARM
883
- /* Cache static copy for L1 link state fixup hook on aarch32 */
884
- pcie_base = pcie -> base ;
885
- pcie_dev = pcie -> dev ;
886
- #endif
887
-
888
867
return 0 ;
889
868
890
869
err_irq2 :
You can’t perform that action at this time.
0 commit comments