Skip to content
Commit 4f0614a0 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Brian Norris
Browse files

mtd: nand: diskonchip: Request memory region prior ioremap()



This patch adds request_mem_region() prior ioremap() for diskonchip
driver. This will allow to check if memory region is occupied by any
other device, for example in case if we have memory region for several
optional devices and only one device can be used at once.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 3cb2c1ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment