https://github.com/ufrisk/pcileech/blob/cdff44e3939531758f37f63e14724834518470ea/usb3380_flash/linux/pcileech_flash.c#L144 ioremap_nocache needs to be replaced with ioremap if you are building for kernel 5.6 and up.