pwm: renesas-tpu: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Fri, 31 Jan 2014 12:45:18 +0000 (13:45 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 26 Feb 2014 15:14:42 +0000 (16:14 +0100)
commit2974b09860286f47f916d4c651f895c781ed5247
tree469d81401777634f0a18cf659fcb6513fe77b2d4
parent557fe99d9d490fe01c7aa87494313078c4ff939c
pwm: renesas-tpu: Add dependency on HAS_IOMEM

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/built-in.o: In function `tpu_probe':
drivers/pwm/pwm-renesas-tpu.c:421: undefined reference to `devm_ioremap_resource'

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig