From patchwork Tue Jul 9 07:55:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 1129614 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="BLapvACV"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jZV84Mtlz9sN1 for ; Tue, 9 Jul 2019 17:59:42 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CDD1EC21E0B; Tue, 9 Jul 2019 07:59:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E0694C21E07; Tue, 9 Jul 2019 07:55:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C1139C21E3A; Tue, 9 Jul 2019 07:55:48 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by lists.denx.de (Postfix) with ESMTPS id 82534C21E3A for ; Tue, 9 Jul 2019 07:55:45 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id f9so19850902wre.12 for ; Tue, 09 Jul 2019 00:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rJLzpiJKWu5iHMbmy8U1VZWYT1UvmtlVkjYTnjWpbyI=; b=BLapvACVzqmMi1c5VBdfc06fjoYHBrJtoFne5Fl4vBa757wParFMdZdicBBo82QEmo zCkmHMrzBJ0qNfX1iD07zqrD8hoNu1wuKuQKH2XUSa4zrXlZ7XJnSIGwbYAPKHqHdD2S QCxF/kww5mZU2M+dH5wb0WQpgO2NiL8HqWqKOxr8mhQS4MN0PTPUmP85om6rMejfJ1Zw 5vnbJRiNbHgAEyv1BUYZiT/Jgx92i86FKffunm8gIOr/Z8yHqq+FJIPuiyiOdvAsQut4 NOntz75rl0gZoAj0Yxk+icVC1TllN2LwrI7uiP3s4cUSgDJyRpu+RS0rvPjt2MXCdnfj 82uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rJLzpiJKWu5iHMbmy8U1VZWYT1UvmtlVkjYTnjWpbyI=; b=kVGGVJM8QHV8zPeStNlniK6EFOM2FgZ/Y0mR9/K0lndmcnV7KoOSa++chEQllxF7pJ zcoVNcnwrsks1lvawN5GPCQ7GF6XyW71yznUQ3vlQt8Tfaw4kuQYX77vB+lKeAkfJRTQ s/vPN/biUrI2Y5zpmLPuzBs9mCJXqzSZW+sjKMnNhH124g61ck/td8ONFSceHZk8fZvG kBF/0HoxoZ9cAEcb9c6gRPLvKbQPVCJt6z51rBHgPzzcX6Ff45TpEpPhAAk5/mbQf3eb I5kA1vU8HPETcvI5IqhBF3s9in1vCFMcrN/C/wZLhQ6rXyi5Sg3JNMUWyJbU2CM9EJ0Z xU0Q== X-Gm-Message-State: APjAAAVpN9ZFP/e/A/lC9WMna+t9QhkbOSggCXEwUx1HkzhPPtb1hyrb iFkKj2jp3tUOQu08R+mecyArJ6q+tXY= X-Google-Smtp-Source: APXvYqxUI+6fc27WBW+2UmavzuKq/ubvHticnyx5tUI4ultpAC9XJ18DL8hQ9jRDw6krlJjV0aQvwg== X-Received: by 2002:a5d:5607:: with SMTP id l7mr24706064wrv.228.1562658944620; Tue, 09 Jul 2019 00:55:44 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id t15sm19578565wrx.84.2019.07.09.00.55.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2019 00:55:44 -0700 (PDT) From: Bartosz Golaszewski To: Albert Aribaud , Adam Ford , Sekhar Nori , Kevin Hilman , David Lechner , Tom Rini , Peter Howard , Simon Glass , Mario Six , Heiko Schocher , Joe Hershberger Date: Tue, 9 Jul 2019 09:55:21 +0200 Message-Id: <20190709075529.15423-7-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190709075529.15423-1-brgl@bgdev.pl> References: <20190709075529.15423-1-brgl@bgdev.pl> MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Bartosz Golaszewski Subject: [U-Boot] [PATCH 06/14] nand: davinci: make davinci_nand_init() static X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/asm/ti-common/davinci_nand.h index e26381c7fd..28842c3b15 100644 --- a/arch/arm/include/asm/ti-common/davinci_nand.h +++ b/arch/arm/include/asm/ti-common/davinci_nand.h @@ -95,6 +95,4 @@ struct davinci_emif_regs { #define DAVINCI_ABCR_ASIZE_16BIT 1 #define DAVINCI_ABCR_ASIZE_8BIT 0 -void davinci_nand_init(struct nand_chip *nand); - #endif diff --git a/drivers/mtd/nand/raw/davinci_nand.c b/drivers/mtd/nand/raw/davinci_nand.c index cfa9b535c8..e1c4498cb9 100644 --- a/drivers/mtd/nand/raw/davinci_nand.c +++ b/drivers/mtd/nand/raw/davinci_nand.c @@ -730,7 +730,7 @@ static int nand_davinci_dev_ready(struct mtd_info *mtd) return __raw_readl(&davinci_emif_regs->nandfsr) & 0x1; } -void davinci_nand_init(struct nand_chip *nand) +static void davinci_nand_init(struct nand_chip *nand) { #if defined CONFIG_KEYSTONE_RBL_NAND int i;