Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754342AbbFUUcu (ORCPT ); Sun, 21 Jun 2015 16:32:50 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34684 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752732AbbFUUcl (ORCPT ); Sun, 21 Jun 2015 16:32:41 -0400 From: Nicolai Stange To: Thomas Gleixner Cc: Daniel Lezcano Cc: linux-kernel@vger.kernel.org Cc: Richard Weinberger Subject: [PATCH] clocksource: stm32: introduce dependency on HAS_IOMEM Date: Sun, 21 Jun 2015 22:32:37 +0200 Message-ID: <87pp4odcpm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 33 Fix allmodconfig compilation failer for ARCH=um: drivers/clocksource/timer-stm32.c: In function 'stm32_clockevent_init': drivers/clocksource/timer-stm32.c:175:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] iounmap(data->base); ^ Make CLKSRC_STM32 depend on HAS_IOMEM. Signed-off-by: Nicolai Stange --- drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 60d7d3d..835e5c5 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -114,6 +114,7 @@ config CLKSRC_LPC32XX config CLKSRC_STM32 bool "Clocksource for STM32 SoCs" if COMPILE_TEST depends on OF + depends on HAS_IOMEM select CLKSRC_MMIO config ARM_ARCH_TIMER -- 2.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/