From patchwork Thu Mar 26 09:27:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 46356 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8C77A21584 for ; Thu, 26 Mar 2015 09:27:38 +0000 (UTC) Received: by labss8 with SMTP id ss8sf4204176lab.2 for ; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=P1CLGUm1T6CYzp94f2yr6+TWpj/R2XdLiy7D82+k+C0=; b=fpysQlHlfO9xzy2h0pQ2rLR6gbCjvjHxFa/s0C51+LGHVwsZVJJTz5qQhU0nqOKVGn 3IAHjBunwf0vzcYCSAIQLiQp0RgfgUH60CR/6ckO1vkz+LovzPfUaJM0v3vSkiFr2qvn 0b0W627p6kApTJIOn37DXjaiIR5NsypEoLjLt9IKwNEoWmZJuflCAYjsAJiZ5eB4RYr/ /Ruqneg8dgQiW7T/LBYSxpYz0GUrN/s1/FZa4NNAUjwlp94JwfVqUM7KBeHVsGgliP35 41LaF48cXEn2QlQjGqAc7uuzNA+r4qnjQ4Aa5+abqXgCvKr9ZJVbUra6gijODAS9/PYs Z1UA== X-Gm-Message-State: ALoCoQluUT1pVDPiMj4aZjysu8FP2Cb5EsKAZWSRKoLm19DnCEF3WEk+zl/b78XUUSefubUujZx3 X-Received: by 10.194.221.65 with SMTP id qc1mr3111111wjc.7.1427362057371; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.34 with SMTP id ir2ls198221lac.84.gmail; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) X-Received: by 10.152.179.139 with SMTP id dg11mr12517049lac.28.1427362057112; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id n1si4108677lae.91.2015.03.26.02.27.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 02:27:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbcgn8 with SMTP id gn8so36355654lbc.2 for ; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) X-Received: by 10.152.22.67 with SMTP id b3mr12134710laf.117.1427362056974; Thu, 26 Mar 2015 02:27:36 -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.112.57.201 with SMTP id k9csp480281lbq; Thu, 26 Mar 2015 02:27:36 -0700 (PDT) X-Received: by 10.68.222.70 with SMTP id qk6mr25164523pbc.9.1427362055284; Thu, 26 Mar 2015 02:27:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oi7si7514793pdb.209.2015.03.26.02.27.34; Thu, 26 Mar 2015 02:27:35 -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 S1752451AbbCZJ1V (ORCPT + 27 others); Thu, 26 Mar 2015 05:27:21 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34632 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752307AbbCZJ1Q (ORCPT ); Thu, 26 Mar 2015 05:27:16 -0400 Received: by wibg7 with SMTP id g7so11911483wib.1 for ; Thu, 26 Mar 2015 02:27:15 -0700 (PDT) X-Received: by 10.194.23.39 with SMTP id j7mr26787458wjf.9.1427362035250; Thu, 26 Mar 2015 02:27:15 -0700 (PDT) Received: from mai.lan (135-224-190-109.dsl.ovh.fr. [109.190.224.135]) by mx.google.com with ESMTPSA id k1sm7481817wjn.9.2015.03.26.02.27.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Mar 2015 02:27:14 -0700 (PDT) From: Daniel Lezcano To: mingo@kernel.org, tglx@linutronix.de Cc: maxime.ripard@free-electrons.com, richard@nod.at, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] clocksource: sh_tmu: Fix !HAS_IOMEM build Date: Thu, 26 Mar 2015 10:27:08 +0100 Message-Id: <1427362029-6511-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427362029-6511-1-git-send-email-daniel.lezcano@linaro.org> References: <5513D019.3050503@free.fr> <1427362029-6511-1-git-send-email-daniel.lezcano@linaro.org> MIME-Version: 1.0 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.217.172 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: Richard Weinberger Fixes: drivers/clocksource/sh_tmu.c: In function ‘sh_tmu_map_memory’: drivers/clocksource/sh_tmu.c:506:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] tmu->mapbase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/clocksource/sh_tmu.c:506:15: warning: assignment makes pointer from integer without a cast [enabled by default] tmu->mapbase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/clocksource/sh_tmu.c: In function ‘sh_tmu_setup’: drivers/clocksource/sh_tmu.c:598:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(tmu->mapbase); Signed-off-by: Richard Weinberger Signed-off-by: Daniel Lezcano Acked-by: Geert Uytterhoeven --- drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index c4063a6..a0b036c 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -212,6 +212,7 @@ config SH_TIMER_MTU2 config SH_TIMER_TMU bool "Renesas TMU timer driver" if COMPILE_TEST depends on GENERIC_CLOCKEVENTS + depends on HAS_IOMEM default SYS_SUPPORTS_SH_TMU help This enables build of a clocksource and clockevent driver for