Message ID | 1462257612-28746-15-git-send-email-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Andreas Bießmann |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3qzWpP6ryyz9sDC for <incoming@patchwork.ozlabs.org>; Tue, 3 May 2016 16:43:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=h18l6z8C; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEF3BA777C; Tue, 3 May 2016 08:42:03 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gRvtFFy1HzlQ; Tue, 3 May 2016 08:42:03 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D725A779B; Tue, 3 May 2016 08:41:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2240FA76F5 for <u-boot@lists.denx.de>; Tue, 3 May 2016 08:41:03 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SWygndEix0Gz for <u-boot@lists.denx.de>; Tue, 3 May 2016 08:41:03 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by theia.denx.de (Postfix) with ESMTPS id 91697A76FF for <u-boot@lists.denx.de>; Tue, 3 May 2016 08:40:38 +0200 (CEST) Received: by mail-io0-f178.google.com with SMTP id d62so13706119iof.2 for <u-boot@lists.denx.de>; Mon, 02 May 2016 23:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=IA6vfwTDpF77V3m8LzWVkPqr5GPEHIiDEMRJNj8lJpc=; b=h18l6z8CHQBlkPC+RZXL3qvN/5G8gSI4WOxLVaAWcNnyIQML8h+6r6/sVhYqLlayNR yS+zjqHJE88gGzgM2JE/QmszfR7qe3rdAvTMcf8A2YXUs9jbM/pa4++9hlGDQYWW62o6 nNO/ccards3HsBZs9GpqWLlHdeC+8YnCFOphsISc7cpwsb0nwCafJB93KeaT6bX2XtYu nSHGKel2yARc6mr7zD5OSWFcyh+VBD2c1H+yEHV8xts9vEM4nnKFvDwCCMHM/KDZoA88 6fKZIHO2NC+zal298QveH6cTL2DZIhaEYmc9Ejd6NJwK0jACM+stJ63Skl6GYkNUPUXN qHNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=IA6vfwTDpF77V3m8LzWVkPqr5GPEHIiDEMRJNj8lJpc=; b=UGPtcRjnYY4pP7rslUnMjKjozSzyloelz0ejsjIINZj9yvTZdusywqtHJVXI+6dEMT 0mq9CHiHCnh9iIvbQa+0D/j+WcLIL33W7TdtavZZrieWeg65aWQfHvAZX5zN+/EaSfw6 11x4/DDsHivwdjCcFJaL/75pDuIPO4cgHRWoLzHU3vNueUU+jdn6BojqmqxBvRv5w6Up wdGQM7HRpoZCLuMAmIaMCas7EM+nr00lNcTKB8rOQ+olIiqmXhp/5Pds7NBHcVx4GGhT xDcdhy1346yMAZHX5GXJ/EVr/oCfRNzs89gJAs8RO5uTbPOwHWqp7uyu9CoqS/f2P+3E AVbA== X-Gm-Message-State: AOPr4FXaM7kZWJA9gblH7hFyEwo7TqJUiF91XTdHdxNc9nAB3eV8WiW73siAafBVofpZLODO X-Received: by 10.107.184.10 with SMTP id i10mr1279038iof.26.1462257637666; Mon, 02 May 2016 23:40:37 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.57]) by smtp.gmail.com with ESMTPSA id b202sm1374819ioe.27.2016.05.02.23.40.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 23:40:33 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B05A1221143; Tue, 3 May 2016 00:40:25 -0600 (MDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Tue, 3 May 2016 00:40:08 -0600 Message-Id: <1462257612-28746-15-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1462257612-28746-1-git-send-email-sjg@chromium.org> References: <1462257612-28746-1-git-send-email-sjg@chromium.org> Cc: Scott Wood <oss@buserror.net>, Scott Wood <scottwood@freescale.com> Subject: [U-Boot] [PATCH 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 8fac824..15958cb 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -20,6 +20,8 @@ #include <watchdog.h> #include <linux/mtd/nand_ecc.h> +#define dev_warn(dev, msg...) + #ifdef CONFIG_ATMEL_NAND_HWECC /* Register access macros */
The code does not compile if ECC is enabled. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/mtd/nand/atmel_nand.c | 2 ++ 1 file changed, 2 insertions(+)