From patchwork Tue Aug 23 15:19:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 74504 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2155137qga; Tue, 23 Aug 2016 08:20:02 -0700 (PDT) X-Received: by 10.67.3.197 with SMTP id by5mr53460231pad.119.1471965602507; Tue, 23 Aug 2016 08:20:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m88si4348648pfi.190.2016.08.23.08.20.02; Tue, 23 Aug 2016 08:20:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038AbcHWPT6 (ORCPT + 27 others); Tue, 23 Aug 2016 11:19:58 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:34462 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbcHWPT4 (ORCPT ); Tue, 23 Aug 2016 11:19:56 -0400 Received: by mail-pa0-f51.google.com with SMTP id fi15so49207084pac.1 for ; Tue, 23 Aug 2016 08:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=SZMK3uarjHDq9LzAl9PIiSKt0TTFzRHufdwY5Mu8Y+E=; b=ThjCc9sPn/lw3jSWWegOox8GdVv74cF47v2I/uKzh2QdyzMZPpzTazbPXiwkT5YnxO s0Du+8r9hWeg8D2Zr8wc1egVdsrYcKZpFy48nDox93RNJI/uWcQeG6pnWkfyW5O6yhnR yeYTgj+ru3YmaI29H7am3fTfTGCcLaSNHegzg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SZMK3uarjHDq9LzAl9PIiSKt0TTFzRHufdwY5Mu8Y+E=; b=BokTlZW/svHZy4GLJhlQYoje8bAky8Rwvc6INHIk5GCL6sVeA3CgXHniu5UDhxq/A1 UMpDAiblX6+/k96uejGKOd0cQOtkpC1zJBvME+FHDNY2XK5Tko999BFPB0fvz8oind/E F8ankWFUfgRBx2Pt9EBxHH8rSr6czIEbeR9jKjFWsxE/WnuyNVijL2D/5q81U6AQY12h /MjsfN6G+CtsmXBY+0vC/JPgDXHvJXRLOPCAW3GX2EEaN/IJjMNbBrd49/I9oWUhHUhl eMuu2uOx0JsiYdxtohNpS+iW0Vdi+G+Dm3f2g+hh5hS1oljLS9wh9VbBjfJOKV/8sAB6 YhJw== X-Gm-Message-State: AEkooutnreXlX69hV4ZQ5zM+Mgn9iDUMPP9g378iQAUFkDMGsGVFNp/mYyk1grYPUUYujx04 X-Received: by 10.66.253.101 with SMTP id zz5mr53285457pac.32.1471965590657; Tue, 23 Aug 2016 08:19:50 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.8]) by smtp.gmail.com with ESMTPSA id a20sm6616120pfa.27.2016.08.23.08.19.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Aug 2016 08:19:50 -0700 (PDT) From: Baoyou Xie To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: arnd@arndb.de, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Baoyou Xie Subject: [PATCH v4] clocksource/drivers/pxa: fix include files for compilation Date: Tue, 23 Aug 2016 23:19:29 +0800 Message-Id: <1471965569-4104-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning about global functions without a declaration in the clocksource/drivers/pxa driver when building with W=1: drivers/clocksource/pxa_timer.c:221:13: warning: no previous prototype for 'pxa_timer_nodt_init' [-Wmissing-prototypes] void __init pxa_timer_nodt_init(int irq, void __iomem *base, In fact, this function is declared in pxa.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie Reviewed-by: Arnd Bergmann --- drivers/clocksource/pxa_timer.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/drivers/clocksource/pxa_timer.c b/drivers/clocksource/pxa_timer.c index 937e10b..3e1cb51 100644 --- a/drivers/clocksource/pxa_timer.c +++ b/drivers/clocksource/pxa_timer.c @@ -21,6 +21,8 @@ #include #include +#include + #include #define OSMR0 0x00 /* OS Timer 0 Match Register */