From patchwork Wed Jul 23 10:53:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 34141 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B92D2061E for ; Wed, 23 Jul 2014 10:57:35 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf7234352pab.5 for ; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:subject:date :message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=kpMgO5o688Lhi4J2bCxW0GSmTRfDJvc8ZFxJx8UjyYY=; b=ScZKVs2aDqL76fPXRMPAJ/eBLUqmYNGCSHvDmX9cGWcCuy8UTWhmaP/MIFHcogfrA3 UncuqhZKE6JtQLkb56BzOhyuSvLuqMI2XdsOeumI2iPtiroK5Af/1E2NmmPQBX+h7h52 gC7CcO8FzsA27Bb9EimW7X6EmdzPoj6858r56stBrVuZOcIBcf28JXoft3k1P9gM3rYf p0iIW4zE51OW7yFU+pIx9hAXcRNMz5f/Dw7aU/K03ZY+eZyfEO+517KL2XIM0CNk/m7q vun8XHoujGsK8anuAgRhvkXDDur5g6KF2gEORQLtD9o1SsSsR69ycbBx2thz6l7dTjX7 5J0Q== X-Gm-Message-State: ALoCoQl/8xXTrNj5ZH+nncp98cvFHRqaEda+moarNMPy+f3OeMXrqobIHx0wf0bSjUcfsg/wU6us X-Received: by 10.66.216.161 with SMTP id or1mr215967pac.38.1406113054650; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.166 with SMTP id d35ls340683qge.3.gmail; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr589530vck.29.1406113054493; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id l3si1497589vcr.76.2014.07.23.03.57.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jul 2014 03:57:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so1714601vcb.22 for ; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) X-Received: by 10.220.50.8 with SMTP id x8mr885116vcf.18.1406113054409; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp268948vcb; Wed, 23 Jul 2014 03:57:34 -0700 (PDT) X-Received: by 10.66.176.193 with SMTP id ck1mr605742pac.36.1406113053577; Wed, 23 Jul 2014 03:57:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wn9si2093995pbc.256.2014.07.23.03.57.32 for ; Wed, 23 Jul 2014 03:57:33 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758058AbaGWK5O (ORCPT + 15 others); Wed, 23 Jul 2014 06:57:14 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:36230 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932433AbaGWKy3 (ORCPT ); Wed, 23 Jul 2014 06:54:29 -0400 Received: by mail-wi0-f175.google.com with SMTP id ho1so7464804wib.2 for ; Wed, 23 Jul 2014 03:54:26 -0700 (PDT) X-Received: by 10.194.121.6 with SMTP id lg6mr659774wjb.116.1406112866424; Wed, 23 Jul 2014 03:54:26 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-406-71.w82-125.abo.wanadoo.fr. [82.125.33.71]) by mx.google.com with ESMTPSA id es9sm1112100wjd.1.2014.07.23.03.54.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jul 2014 03:54:25 -0700 (PDT) From: Daniel Lezcano To: linux-kernel@vger.kernel.org Subject: [PATCH 16/25] clocksource: Kconfig: Let EM_TIMER_STI depend on HAS_IOMEM Date: Wed, 23 Jul 2014 12:53:58 +0200 Message-Id: <1406112847-26275-16-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1406112847-26275-1-git-send-email-daniel.lezcano@linaro.org> References: <53CF93B2.6040903@linaro.org> <1406112847-26275-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Chen Gang 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 Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 497356d..7ea7d7c 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -194,7 +194,7 @@ config SH_TIMER_TMU config EM_TIMER_STI bool "Renesas STI timer driver" if COMPILE_TEST - depends on GENERIC_CLOCKEVENTS + depends on GENERIC_CLOCKEVENTS && HAS_IOMEM default SYS_SUPPORTS_EM_STI help This enables build of a clocksource and clockevent driver for