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: 9295855 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 60810607F0 for ; Tue, 23 Aug 2016 15:21:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5134E20649 for ; Tue, 23 Aug 2016 15:21:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46010283E5; Tue, 23 Aug 2016 15:21:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D549D20649 for ; Tue, 23 Aug 2016 15:21:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcDV0-0001M9-6g; Tue, 23 Aug 2016 15:20:22 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcDUr-0000U2-1m for linux-arm-kernel@lists.infradead.org; Tue, 23 Aug 2016 15:20:17 +0000 Received: by mail-pa0-x22e.google.com with SMTP id hb8so30600790pac.2 for ; Tue, 23 Aug 2016 08:19:51 -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=d/IfRXtAvyp6oncOMtyXrbjFzlobODAysMCYYjvez0dPNwIM2iLJ0ZP3q9nMFm3bT/ fjLL0b1b884NM89W5KTIDjB0TiAxeopg6Y3I8Q6q2W1dQcuxE/undzQLCsjb7lvvm4uB SBzrNlsfdmM/W/nCM6jtxRb1CcbTQImv97cEITWBoZUp6KmJrPyA9IQfYuP1YeXh/TDE V1qF0e5lu25RzxjvqFcJObLN83Dy0YH4+VfXG9l3qQJ+uigBZd5awxiQfrTFSKklIDLS WCcN4B2AntwIu8DMVg9trUyFVSlSbIkqUfrdxlY3p1M7lnO9qnjyZ4vECXnXO3DN/vtL b7og== X-Gm-Message-State: AEkooutyVoloLC4nXQs4Q5TqQ5iEACNktMzB3yws9zrYux2grFVgsfbSPGhp9oEda4a3l5uq 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160823_082013_329233_3EC5E200 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Baoyou Xie , xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, arnd@arndb.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 */