diff options
author | Richard Weinberger <richard@nod.at> | 2014-01-31 07:45:18 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-02-26 10:14:42 -0500 |
commit | 2974b09860286f47f916d4c651f895c781ed5247 (patch) | |
tree | 469d81401777634f0a18cf659fcb6513fe77b2d4 /drivers/pwm | |
parent | 557fe99d9d490fe01c7aa87494313078c4ff939c (diff) |
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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r-- | drivers/pwm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 22f2f2857b82..0b7a3c96f639 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig | |||
@@ -160,6 +160,7 @@ config PWM_PXA | |||
160 | config PWM_RENESAS_TPU | 160 | config PWM_RENESAS_TPU |
161 | tristate "Renesas TPU PWM support" | 161 | tristate "Renesas TPU PWM support" |
162 | depends on ARCH_SHMOBILE || COMPILE_TEST | 162 | depends on ARCH_SHMOBILE || COMPILE_TEST |
163 | depends on HAS_IOMEM | ||
163 | help | 164 | help |
164 | This driver exposes the Timer Pulse Unit (TPU) PWM controller found | 165 | This driver exposes the Timer Pulse Unit (TPU) PWM controller found |
165 | in Renesas chips through the PWM API. | 166 | in Renesas chips through the PWM API. |