summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/switch.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-03 16:38:45 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-08-08 15:50:30 +0100
commitee1604381a371b3ea6aec7d5e43b6e3f5e153854 (patch)
tree44a73c6b1bdf9240d5ca3f54089ae3e2b68f84c3 /drivers/thunderbolt/switch.c
parentdfd0309fd7b30a5baffaf47b2fccb88b46d64d69 (diff)
downloadlinux-stable-ee1604381a371b3ea6aec7d5e43b6e3f5e153854.tar.gz
linux-stable-ee1604381a371b3ea6aec7d5e43b6e3f5e153854.tar.bz2
linux-stable-ee1604381a371b3ea6aec7d5e43b6e3f5e153854.zip
PCI: mvebu: Only remap I/O space if configured
If there is no PCI I/O aperture configured in the Device Tree, it does not make sense to create the virtual mapping for the PCI I/O space, since we will anyway not create the MBus window that will allow to access it. Therefore, do the pci_ioremap_io() only if necessary. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/thunderbolt/switch.c')
0 files changed, 0 insertions, 0 deletions