]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: Kconfig: Let EM_TIMER_STI depend on HAS_IOMEM
authorChen Gang <gang.chen.5i5j@gmail.com>
Tue, 8 Jul 2014 12:39:40 +0000 (20:39 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 23 Jul 2014 10:02:33 +0000 (12:02 +0200)
commit811b903a94ee2ce13b86c642afb55cab8de6c7f1
treed695709f14a167eca60435071aa1724529fb7301
parent4e84bcce743711c146473013e8d642a506ed4bf3
clocksource: Kconfig: Let EM_TIMER_STI depend on HAS_IOMEM

In 'em_sti.c', it will call devm_ioremap_resource() which need
HAS_IOMEM. So need let EM_TIMER_STI depend on HAS_IOMEM, too.

The related error (with allmodconfig under score):

  LD      init/built-in.o
em_sti.c:(.text.em_sti_probe+0x84): undefined reference to `devm_ioremap_resource'
make: *** [vmlinux] Error 1

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig