From patchwork Sun Dec 2 15:32:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 1831001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 099123FCA5 for ; Sun, 2 Dec 2012 15:36:32 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TfBX2-00017S-3G; Sun, 02 Dec 2012 15:32:36 +0000 Received: from mail-ie0-f177.google.com ([209.85.223.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TfBWz-000179-7u for linux-arm-kernel@lists.infradead.org; Sun, 02 Dec 2012 15:32:33 +0000 Received: by mail-ie0-f177.google.com with SMTP id k13so2845553iea.36 for ; Sun, 02 Dec 2012 07:32:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version:x-gm-message-state; bh=BuhPgQ9a+YigNoA9t1HtoBwWVVWfbU068jSj7sL4JY8=; b=eXt/V9627ntTK016Oah8jcjU9LQuJ8vnxI9x4oskaG7t9/jCfWsWpkhCoFQ7q+l2W/ Fw31193lBtW2ephep3K5sqcwWr6A0WzqBgtzJbZA0PnDsicYLdqvWKRmu1KvMjeY6uUD YuU+C9RPFaLlyxy5GfBWBUql2uWwnZMDRQaMc/paTnKDuLaaU9THQY8sihNOZzPUDX2p s0eZc6Ire7dXULV7yQe/B39WTKVWHgC36FpOSo+nkfkNOk5wwYygD231+uQunKaEjH99 AmRD0dQoY4VZDNEQz7jd1Z1jepcDlqkNB7mlR91YnpZFIaLbfM2LJyaiqKSRCoULr46v Ou6A== Received: by 10.43.60.212 with SMTP id wt20mr5612880icb.51.1354462349059; Sun, 02 Dec 2012 07:32:29 -0800 (PST) Received: from [192.168.0.101] (114-39-103-247.dynamic.hinet.net. [114.39.103.247]) by mx.google.com with ESMTPS id i10sm4622871igb.12.2012.12.02.07.32.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 07:32:28 -0800 (PST) Message-ID: <1354462339.24917.0.camel@phoenix> Subject: [PATCH] ARM: sunxi: Include linux/delay.h From: Axel Lin To: Maxime Ripard Date: Sun, 02 Dec 2012 23:32:19 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQlZGoy5JlUkGoTzkVfZmbLd3HbxQtPlT9RnIQ1SVX/92usKyXml3jcjJTtAsCNb7ofgi2U6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121202_103233_384400_81F8503B X-CRM114-Status: GOOD ( 11.40 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.223.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This fixes below build error: CC arch/arm/mach-sunxi/sunxi.o arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart': arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[1]: *** [arch/arm/mach-sunxi/sunxi.o] Error 1 make: *** [arch/arm/mach-sunxi] Error 2 Signed-off-by: Axel Lin --- arch/arm/mach-sunxi/sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index dc634ae..fba8d6e 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sunxi/sunxi.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include