}
printk("requested memory at %lx with length %lx\n",
priv->bases[ix], priv->reglen[ix]);
+ //JAM2020:Linux tumbleweed at homeoffice shows it!
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,5,19)
+ priv->iomem[ix] = ioremap(priv->bases[ix], priv->reglen[ix]);
+#else
priv->iomem[ix] =
ioremap_nocache(priv->bases[ix], priv->reglen[ix]);
- if (priv->iomem[ix] == NULL) {
+#endif
+ if (priv->iomem[ix] == NULL) {
printk(KERN_ERR
"Could not remap memory at bar %d for device \"%s\"\n", ix,
dev->dev.kobj.name);