From patchwork Thu Mar 26 09:27:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 46357 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9037F21584 for ; Thu, 26 Mar 2015 09:27:39 +0000 (UTC) Received: by wghr3 with SMTP id r3sf3266307wgh.0 for ; Thu, 26 Mar 2015 02:27:38 -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=ee2rPns/1L9299Ex6AP2JdDZjxayhWb2nrODmDRo4ms=; b=ZTKPLVk3Oq+NcQZ7WGGi8SIfIAUji1Uht5xVQsD1rXCEuIKEklSBGbcPbDcumcq711 XK2U7aiW6aEkpqGy8D8lK4kF/XL+Uf8jKLsQMWd50VyAQbsxhCg05/+ul4AwrdBN7iGT 9rnBief0YzGC1YK3gLjsi1X/qLGW1zUl/3kUeMASFdxP/Qd8ZCjsyenuCM8tX+S8hO0Y Gziodz3CT2Z1c3K/pCRS5SJNbHKjUwxOF2Bcnq8zla8DgJVHmOJ8T4T0ARjX6ZDjLLx+ Mf5nmdrtZLwGhf5cMxjAbre8ejo+vYuIn9iUI2k88gIW7H+dO7JKAhHjVUGlj1A9Vddc xjYw== X-Gm-Message-State: ALoCoQmkwxmBTDEzqS/lSanhp2zmrN+WAheGPNkhP2HRxprN41RBZL5xLV6gZMn9r6GMjcA/4lFM X-Received: by 10.112.213.100 with SMTP id nr4mr3074572lbc.10.1427362058874; Thu, 26 Mar 2015 02:27:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.133 with SMTP id w5ls194118lal.16.gmail; Thu, 26 Mar 2015 02:27:38 -0700 (PDT) X-Received: by 10.112.145.195 with SMTP id sw3mr2841368lbb.8.1427362058701; Thu, 26 Mar 2015 02:27:38 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id b7si4131515lah.16.2015.03.26.02.27.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 02:27:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbug6 with SMTP id ug6so36462104lbb.3 for ; Thu, 26 Mar 2015 02:27:38 -0700 (PDT) X-Received: by 10.152.120.134 with SMTP id lc6mr12273237lab.72.1427362058277; Thu, 26 Mar 2015 02:27:38 -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 k9csp480289lbq; Thu, 26 Mar 2015 02:27:37 -0700 (PDT) X-Received: by 10.70.91.5 with SMTP id ca5mr24377541pdb.99.1427362056571; Thu, 26 Mar 2015 02:27:36 -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.35; Thu, 26 Mar 2015 02:27:36 -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 S1752479AbbCZJ1X (ORCPT + 27 others); Thu, 26 Mar 2015 05:27:23 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35107 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbbCZJ1O (ORCPT ); Thu, 26 Mar 2015 05:27:14 -0400 Received: by wibbg6 with SMTP id bg6so56532457wib.0 for ; Thu, 26 Mar 2015 02:27:13 -0700 (PDT) X-Received: by 10.180.212.37 with SMTP id nh5mr44858564wic.76.1427362033689; Thu, 26 Mar 2015 02:27:13 -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.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Mar 2015 02:27:13 -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 2/4] clocksource: sh_mtu2: Fix !HAS_IOMEM build Date: Thu, 26 Mar 2015 10:27:07 +0100 Message-Id: <1427362029-6511-2-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.182 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_mtu2.c: In function ‘sh_mtu2_map_memory’: drivers/clocksource/sh_mtu2.c:391:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] mtu->mapbase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/clocksource/sh_mtu2.c:391:15: warning: assignment makes pointer from integer without a cast [enabled by default] mtu->mapbase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/clocksource/sh_mtu2.c: In function ‘sh_mtu2_setup’: drivers/clocksource/sh_mtu2.c:448:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(mtu->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 c948f4e..c4063a6 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -202,6 +202,7 @@ config SH_TIMER_CMT config SH_TIMER_MTU2 bool "Renesas MTU2 timer driver" if COMPILE_TEST depends on GENERIC_CLOCKEVENTS + depends on HAS_IOMEM default SYS_SUPPORTS_SH_MTU2 help This enables build of a clockevent driver for the Multi-Function