Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8593dd37 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

tile: don't panic on iomap



I think panic on iomap is there just for debugging.
If we return NULL instead, the generic pci_iomap will
DTRT so we don't need to roll our own.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent a21a2fd4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -204,7 +204,8 @@ static inline long ioport_panic(void)

static inline void __iomem *ioport_map(unsigned long port, unsigned int len)
{
	return (void __iomem *) ioport_panic();
	pr_info("ioport_map: mapping IO resources is unsupported on tile.\n");
	return NULL;
}

static inline void ioport_unmap(void __iomem *addr)