basic_mmio_gpio: request register regions
commit364b5e871839fafffa851bbff9ecf64ac641023c
authorJamie Iles <jamie@jamieiles.com>
Fri, 20 May 2011 06:40:16 +0000 (20 00:40 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:40:16 +0000 (20 00:40 -0600)
tree56eea04b83a0f84ba3199b64e894f1d9c9ae9fbb
parent924e7a9fc6da124588e27c611841d07047c157b4
basic_mmio_gpio: request register regions

Make sure that we get the register regions with request_mem_region()
before ioremap() to make sure we have exclusive access.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/basic_mmio_gpio.c