Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp259223imm; Thu, 6 Sep 2018 01:52:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaxyQfHCm8CiAlWfGblOGiX7Ud7Bp0jck4D2NKMcws//a1NnP86qa4QEx4/lFyLeZ5XKKXs X-Received: by 2002:a63:904a:: with SMTP id a71-v6mr1658787pge.339.1536223979128; Thu, 06 Sep 2018 01:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536223979; cv=none; d=google.com; s=arc-20160816; b=R0XkfDNmUzzlEpgqcszgXY33gEp7ukWTIbxDpTQ41WFOX0lm3QgVfqnIBnyBt4eXXf pOl1MIRscnxPICGDve+rXtuwNndmI7TJdiWnX1jy9gzpvx+4ND7QLdDTuaW9D0bfTzE/ YPr9NBY6v/1RQ2559vjFHEVxzUSSP4T147ARPyL07XqqIWM2IOV1J9nhD8RPIO6p913a u5AvCns/5OfQLRSEz9x13bPeTJUtO2hAArk2pwzTh91bjqcjN60c6bLGb4mKOMnnUxyL cclQM3i4gqR0TzTDBxMtn5vczoQVrz9UUfctiIJHZb4jCvpWQH3HlAqO2iFvQ6im5Cip jPaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=NP8Px6BLhiymuZVOT5QjjYmmcqU0IA0ESCRc8NvnBiM=; b=tahFc1qmqXoUuYsPT+QatwGKVZSvFHPjHoV/phZfNVPqtxdN4RDLM1p5XeAv+w9kPJ t4wSKlMlxjKnf5FLU/7AJ9ZJQ+cPz1Hq6DJk1cXz/5Na2kGErvVafIlSqt43+YO8ekkl RdUf9NCcEE3eF+k9YaaSwdPOSNdy8l1k1k5jpjR5+RvIz7W8+QIth2H9hw7x9xgUKlM3 BM4CZ4Cf9dVj+dEZzRjSyAdQcm1uZpI/vSB++rWWz8JSntJrYzes8JNODHbg83XknI5H 6ohfCFzNrbS+RmdmFcpeLbuLhMQJwuG/W+24IrW0AmnmtMx7uwZjMTT0MTVt48ilTjI6 toSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7-v6si4356062plq.163.2018.09.06.01.52.44; Thu, 06 Sep 2018 01:52:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727824AbeIFNYl (ORCPT + 99 others); Thu, 6 Sep 2018 09:24:41 -0400 Received: from mout.perfora.net ([74.208.4.196]:43347 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbeIFNYl (ORCPT ); Thu, 6 Sep 2018 09:24:41 -0400 Received: from localhost.localdomain.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPA (Nemesis) id 0MAvqc-1g7hss2Cvs-009x2o; Thu, 06 Sep 2018 10:49:31 +0200 From: Marcel Ziswiler To: linux-mtd@lists.infradead.org Cc: Marcel Ziswiler , Miquel Raynal , linux-kernel@vger.kernel.org, Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , Boris Brezillon Subject: [PATCH 1/2] mtd: nand: reorder nand manufacturer ids Date: Thu, 6 Sep 2018 10:49:21 +0200 Message-Id: <20180906084922.14845-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 X-Provags-ID: V03:K1:+AiexZFmMICQ5bQT0cQklBVOP5HgxlxI+n91DMfJOVJtOrkporL QeYzkvRaZui3UzxOETZplw2+gwa+m7sGfNOv0ootZuMawLoq5fZ/+LVFLTDwp/J3l4PGZ6P 80KL9jRJ9IhfASPtZNawgiBa3ZamfivlW3qU1P/5ZqUdJWcyqey4Bqp5dTTZSdru3lcoOV0 K1TWbSEHq3wJ92MmrwMaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:UpslRCgIWY8=:oFjWPCE77QedrVvB7JAvnK ttQPgJZ0SytpH0SyyKjiJ3Ofv5S0REmuIy0M39J+57I3EwMEj7u7+L5976IntCV5SPEzYMqvW N+MyswdkddxUr8Ps+XFFYGZiJELTBMWJsXyzS4c21gD6+1lNFKO/V88wMHdF3izcQJXKnezop 6AhNwQ7xSAd4q8zs6MxLNKAVwcqCDkjWKSdTVuBhAcbMBqj/P27NqJEby2mUPb3XDHE1Ges7f VYFuF9COTyaz9mhvy6M9AcJ9RpuSLDDsXTNzPWkmzKSd8KESV9Sy55UstRoIbCWTG7i9Pzydl OMCKb+ag41TnaCFdRwi2TWUXYlW7XyCZKXjZu3fi6BmMeVp6qU3+9/pB9gS2hxFaHn1uXj5co +dvx3K8Y0JcvD+m3w7lOg2LEBd0WD0MBsG1j/ZCdCTzK6ooApz7eFedLwHqzzY4fFpiKmuR7s Ye+4EFdnU1N4ZZccP0sy1niMBbKmbJoIuSiCceS3jncyI/4Kh4GCuPq2neoAgVioYbJIQWYbG kD9NNLgWSUInQjHQ/Et/TSR4OGHmseELoMQ3+9pm2okL/nRLt65lslUpze1oCnxz5bB03hVm5 57OzO8hDkqx91/v9hLoUs8czuDCA+tChfBfdC+5iAHekprCTQ0KvMZTIfcNi2IqTjWrAvkaJH qQHnSJUdHkzPc9E0c19aSH/9wYzwujrnkQ8fetd2NGXEMsZzWP706l6h/Y346+cya3Cs= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler Reorder NAND manufacturer ids for clarity. Signed-off-by: Marcel Ziswiler --- drivers/mtd/nand/raw/nand_ids.c | 20 ++++++++++---------- include/linux/mtd/rawnand.h | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c index 5423c3bb388e..0851cd86bf19 100644 --- a/drivers/mtd/nand/raw/nand_ids.c +++ b/drivers/mtd/nand/raw/nand_ids.c @@ -169,21 +169,21 @@ struct nand_flash_dev nand_flash_ids[] = { /* Manufacturer IDs */ static const struct nand_manufacturer nand_manufacturers[] = { - {NAND_MFR_TOSHIBA, "Toshiba", &toshiba_nand_manuf_ops}, + {NAND_MFR_AMD, "AMD/Spansion", &amd_nand_manuf_ops}, + {NAND_MFR_ATO, "ATO"}, + {NAND_MFR_EON, "Eon"}, {NAND_MFR_ESMT, "ESMT"}, - {NAND_MFR_SAMSUNG, "Samsung", &samsung_nand_manuf_ops}, {NAND_MFR_FUJITSU, "Fujitsu"}, - {NAND_MFR_NATIONAL, "National"}, - {NAND_MFR_RENESAS, "Renesas"}, - {NAND_MFR_STMICRO, "ST Micro"}, {NAND_MFR_HYNIX, "Hynix", &hynix_nand_manuf_ops}, - {NAND_MFR_MICRON, "Micron", µn_nand_manuf_ops}, - {NAND_MFR_AMD, "AMD/Spansion", &amd_nand_manuf_ops}, + {NAND_MFR_INTEL, "Intel"}, {NAND_MFR_MACRONIX, "Macronix", ¯onix_nand_manuf_ops}, - {NAND_MFR_EON, "Eon"}, + {NAND_MFR_MICRON, "Micron", µn_nand_manuf_ops}, + {NAND_MFR_NATIONAL, "National"}, + {NAND_MFR_RENESAS, "Renesas"}, + {NAND_MFR_SAMSUNG, "Samsung", &samsung_nand_manuf_ops}, {NAND_MFR_SANDISK, "SanDisk"}, - {NAND_MFR_INTEL, "Intel"}, - {NAND_MFR_ATO, "ATO"}, + {NAND_MFR_STMICRO, "ST Micro"}, + {NAND_MFR_TOSHIBA, "Toshiba", &toshiba_nand_manuf_ops}, {NAND_MFR_WINBOND, "Winbond"}, }; diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index efb2345359bb..ca134851d211 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -1541,12 +1541,12 @@ nand_manufacturer_name(const struct nand_manufacturer *manufacturer) extern struct nand_flash_dev nand_flash_ids[]; -extern const struct nand_manufacturer_ops toshiba_nand_manuf_ops; -extern const struct nand_manufacturer_ops samsung_nand_manuf_ops; -extern const struct nand_manufacturer_ops hynix_nand_manuf_ops; -extern const struct nand_manufacturer_ops micron_nand_manuf_ops; extern const struct nand_manufacturer_ops amd_nand_manuf_ops; +extern const struct nand_manufacturer_ops hynix_nand_manuf_ops; extern const struct nand_manufacturer_ops macronix_nand_manuf_ops; +extern const struct nand_manufacturer_ops micron_nand_manuf_ops; +extern const struct nand_manufacturer_ops samsung_nand_manuf_ops; +extern const struct nand_manufacturer_ops toshiba_nand_manuf_ops; int nand_create_bbt(struct nand_chip *chip); int nand_markbad_bbt(struct mtd_info *mtd, loff_t offs); -- 2.14.4