mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-04-01 15:32:00 +00:00

We need to pass in the resource otherwise we cannot release the region properly. We must know whether it is an I/O or MEM resource. Spotted by Eric Brower. Signed-off-by: David S. Miller <davem@davemloft.net>