From patchwork Thu Mar 26 09:27:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 46355 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 47B7E21584 for ; Thu, 26 Mar 2015 09:27:24 +0000 (UTC) Received: by wizj7 with SMTP id j7sf4243139wiz.0 for ; Thu, 26 Mar 2015 02:27:23 -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=2YpSAIeaEDg1TcI1+0gQ1ZTADvSAM3RP/2v6vTfQ/L8=; b=Jin7hp6M8Kf/jPPKV4AUlS5XswGCdWbUhW35S77FPQgMo8U9mFRxzeCXTvzGxFVK36 Ts7Rqbyw6Apewixx5U4ZcdFAW33UTmSQalWx0vr2xF66BCrQA4pbyI13/aAJWgp/e5VN XVq5wHL1BuuNmvXey0pxyhU2qAC13oTUJRFetjnounPt0gnTOPtk09CJ9+n+5OvBW8Id 9cm+AwqjtjkDP0H6JsB7CuX3WYMEimvrAp1MGuukbuIm66RtKpnj1nNxGtUZe/LUmVv4 PSvcUdPlgCh1+IFTgXeNXBQngte8/O4cFW8ikgjkdFQfX8I4q+eZGpuxSjWnCzZwlq/q iwTg== X-Gm-Message-State: ALoCoQnYbYgsd0eowjkfhyAo5ZzpTCxXhUY1N8VWMdCpVE66LmUA9ZozAI4gRdOO5PSsuiUnaISI X-Received: by 10.112.180.74 with SMTP id dm10mr3144703lbc.11.1427362043539; Thu, 26 Mar 2015 02:27:23 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.33 with SMTP id ld1ls222340lac.11.gmail; Thu, 26 Mar 2015 02:27:23 -0700 (PDT) X-Received: by 10.112.235.227 with SMTP id up3mr2960946lbc.86.1427362043166; Thu, 26 Mar 2015 02:27:23 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id z2si4110637laz.78.2015.03.26.02.27.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 02:27:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbcgn8 with SMTP id gn8so36352112lbc.2 for ; Thu, 26 Mar 2015 02:27:23 -0700 (PDT) X-Received: by 10.112.8.101 with SMTP id q5mr12468467lba.19.1427362042922; Thu, 26 Mar 2015 02:27:22 -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 k9csp480184lbq; Thu, 26 Mar 2015 02:27:22 -0700 (PDT) X-Received: by 10.68.252.69 with SMTP id zq5mr25041215pbc.35.1427362041114; Thu, 26 Mar 2015 02:27:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si7559377pdp.89.2015.03.26.02.27.20; Thu, 26 Mar 2015 02:27:21 -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 S1752266AbbCZJ1P (ORCPT + 27 others); Thu, 26 Mar 2015 05:27:15 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:35912 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbbCZJ1N (ORCPT ); Thu, 26 Mar 2015 05:27:13 -0400 Received: by wibg7 with SMTP id g7so140903915wib.1 for ; Thu, 26 Mar 2015 02:27:12 -0700 (PDT) X-Received: by 10.194.185.68 with SMTP id fa4mr25517697wjc.111.1427362032038; Thu, 26 Mar 2015 02:27:12 -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.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Mar 2015 02:27:11 -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 1/4] clocksource: sh_cmt: Fix !HAS_IOMEM build Date: Thu, 26 Mar 2015 10:27:06 +0100 Message-Id: <1427362029-6511-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <5513D019.3050503@free.fr> References: <5513D019.3050503@free.fr> 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.169 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_cmt.c: In function ‘sh_cmt_map_memory’: drivers/clocksource/sh_cmt.c:920:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem)); ^ drivers/clocksource/sh_cmt.c:920:15: warning: assignment makes pointer from integer without a cast [enabled by default] cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem)); ^ drivers/clocksource/sh_cmt.c: In function ‘sh_cmt_setup’: drivers/clocksource/sh_cmt.c:1034:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(cmt->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 68161f7..c948f4e 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -192,6 +192,7 @@ config SYS_SUPPORTS_EM_STI config SH_TIMER_CMT bool "Renesas CMT timer driver" if COMPILE_TEST depends on GENERIC_CLOCKEVENTS + depends on HAS_IOMEM default SYS_SUPPORTS_SH_CMT help This enables build of a clocksource and clockevent driver for