From patchwork Wed Nov 23 00:53:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 127184 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 33D5D1007D6 for ; Wed, 23 Nov 2011 11:54:05 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759090Ab1KWAyA (ORCPT ); Tue, 22 Nov 2011 19:54:00 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:38225 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755521Ab1KWAx7 (ORCPT ); Tue, 22 Nov 2011 19:53:59 -0500 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id 7F247631A; Tue, 22 Nov 2011 17:56:40 -0700 (MST) Received: from localhost.localdomain (searspoint.nvidia.com [216.228.112.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id F179DE40CA; Tue, 22 Nov 2011 17:53:56 -0700 (MST) From: Stephen Warren To: Russell King Cc: Olof Johansson , Colin Cross , linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, Stephen Warren Subject: [PATCH] arm/tegra: Fix build error with tegra_assert_system_reset Date: Tue, 22 Nov 2011 17:53:51 -0700 Message-Id: <1322009631-711-1-git-send-email-swarren@nvidia.com> X-Mailer: git-send-email 1.7.0.4 X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.96.5 at avon.wwwdotorg.org X-Virus-Status: Clean Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Build error: error: static declaration of 'tegra_assert_system_reset' follows non-static declaration Fix: Remove the non-static declaration; the function should be local now. Signed-off-by: Stephen Warren --- arch/arm/mach-tegra/board.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 1d14df7..f159577 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -23,8 +23,6 @@ #include -void tegra_assert_system_reset(char mode, const char *cmd); - void __init tegra_init_early(void); void __init tegra_map_common_io(void); void __init tegra_init_irq(void);