Am 10.02.2016 um 17:28 schrieb Vegard Nossum:
> I don't think there is a "correct function" for when HAS_IOMEM is not
> enabled. There is no IO address space on UML, so it doesn't make sense
> to compile these drivers in the first place.
> 
> Or do you mean to use the dummy implementation from asm-generic/io.h? (I
> have to admit I don't know how that would work.)

We already had an discussion of having an ioremap() like this for UML and S390:

static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
{
        BUG();
        return NULL;
}

But IMHO we should just fix the driver dependencies instead of providing dummy
interfaces just for the sake of making things somehow build...

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to