Commit 334bfcc
committed
fixup! PCI: apple: Move port PHY registers to their own reg items
open code devm_platform_ioremap_resource_byname() to avoid error
messages on older platforms with missing resources in the pcie node.
Avoids "pcie-apple 590000000.pcie: invalid resource (null)" on probe.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 77fd34b commit 334bfcc
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| 677 | + | |
677 | 678 | | |
678 | 679 | | |
679 | 680 | | |
| |||
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
695 | | - | |
696 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
697 | 700 | | |
| 701 | + | |
698 | 702 | | |
699 | 703 | | |
700 | 704 | | |
701 | 705 | | |
702 | 706 | | |
703 | | - | |
704 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
| |||
0 commit comments