From patchwork Tue Oct 1 20:44:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Kshevetskiy X-Patchwork-Id: 1991716 X-Patchwork-Delegate: dario.binacchi@amarulasolutions.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=iopsys.eu header.i=@iopsys.eu header.a=rsa-sha256 header.s=selector2 header.b=gAVpkzfq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XJ91f3VDcz1xt1 for ; Wed, 2 Oct 2024 06:45:26 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6091E892A1; Tue, 1 Oct 2024 22:45:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=iopsys.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=iopsys.eu header.i=@iopsys.eu header.b="gAVpkzfq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 65703892C6; Tue, 1 Oct 2024 22:44:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20704.outbound.protection.outlook.com [IPv6:2a01:111:f403:2612::704]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72D51892A6 for ; Tue, 1 Oct 2024 22:44:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=iopsys.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mikhail.kshevetskiy@genexis.eu ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MxlTQTrFaNNguCbP9aHek9d2uY8F1YWINA3oMQyw0e5O8bSu9tIqSGCVBx8uj70T7a26laNS/nz/27CKdq74njovn/rlNCtqdD++JQ9YAarBn8gOUB8V9MhZp2KLV2DwjutzkMWm5R4hTOD96n259/qtpKMLcsVvqR3X3Sdb7fK4K0wfCuVw+lZ17rEZmLMtL6StbceJ2Y6d6hgOlE6Ii4IXMrmo/obD80HEGqh84G9jsWTDH2yG2lvSdTvnvUri8rl2AyPqlBebAhq9+krPU2MaDs7L1/HvX59WAoiFJKZK6AWgm12IOd/AH0atvKq5dRErE0aC/z3hmIwVe2DfSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TzsgTtBBhFwFichKnMzvvJMvJjAegPEkOJ1Xx+b0T80=; b=TfaYGbIDf6IG/5cqlzzyzU5vYML6CWsdYv/kgoeKHJCl0tI9nr/PVdzQkbbjAA99NnL3K4bx3dSg3Gc0FKMvlwJwiq26eoy4g8uEk/yIGwBlc3b1LwBsfcGwuc1FRGTjs0qBtTY8aKQqyKh+9pR6BZS14pjg4Y00TNSMh+HPg0aRxwFyASbuHpJDXHNj9PDpFreJpTu1FheuJWu4GdJeGfMnyaqMer96hyVfZfKP+SUfPIRxXR2GcmtSkqEuVfPjXzCN5/EtIoEPJ7rrc50i+q0fSjHXtGK/FRjkevs01x/+0rdi74g/ij2BXx2n1fGmtor/AEefoUJJ6IuJvS7Egw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=genexis.eu; dmarc=pass action=none header.from=iopsys.eu; dkim=pass header.d=iopsys.eu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iopsys.eu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TzsgTtBBhFwFichKnMzvvJMvJjAegPEkOJ1Xx+b0T80=; b=gAVpkzfqm6DtaZ7r6bokUT3DVTXCpOyqNl7znhcOB/aIgcsZ8/qtQkI0IR4C1aYPgOUYqpGekvPJWNqPM38rjBgiVB61gMWMchWC4hU/JeRjFIzHzhbz/G0lNtVC7hMcuq2rT1Xf01PTCOu/MmcgtZtllZM2WUkDkS2BXQNwETw0fpm9lTjtMXWNl4+r93iVCcZTlKMWGmRclWoNG0c+AMt1EvLYGiyff+lk8kV9Ickli+ZxQOgI8hcIE7lyNFvX3bMEoXPu7GS4VxLae6mkXBlDixSpNH5GXdusft2D3J1vAaC/eWJ98cOOjsz6YKbvA8Km3C75fX3drHSpI9Fp2g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=iopsys.eu; Received: from GV2PR08MB8121.eurprd08.prod.outlook.com (2603:10a6:150:7d::22) by DB9PR08MB6539.eurprd08.prod.outlook.com (2603:10a6:10:23f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.15; Tue, 1 Oct 2024 20:44:56 +0000 Received: from GV2PR08MB8121.eurprd08.prod.outlook.com ([fe80::4cd3:da80:2532:daa0]) by GV2PR08MB8121.eurprd08.prod.outlook.com ([fe80::4cd3:da80:2532:daa0%2]) with mapi id 15.20.8026.014; Tue, 1 Oct 2024 20:44:56 +0000 From: Mikhail Kshevetskiy To: Tom Rini , Dario Binacchi , Michael Trimarchi , Frieder Schrempf , Jagan Teki , Mikhail Kshevetskiy , William Zhang , Dmitry Rokosov , Igor Prusov , Bruce Suen , Alexey Romanov , Chuanhong Guo , Martin Kurbanov , Miquel Raynal , Max Krummenacher , Francesco Dolcini , u-boot@lists.denx.de Subject: [RESEND PATCH v4 03/10] mtd: spinand: add missed add missed MODULE_DEVICE_TABLE() Date: Tue, 1 Oct 2024 23:44:35 +0300 Message-ID: <20241001204444.917238-4-mikhail.kshevetskiy@iopsys.eu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241001204444.917238-1-mikhail.kshevetskiy@iopsys.eu> References: <20241001204444.917238-1-mikhail.kshevetskiy@iopsys.eu> X-ClientProxiedBy: GVX0EPF00011B5E.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1:0:8:0:16) To GV2PR08MB8121.eurprd08.prod.outlook.com (2603:10a6:150:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV2PR08MB8121:EE_|DB9PR08MB6539:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a3905a2-d229-49f9-3a31-08dce259e86d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|366016|7416014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: 3SkW8r+MfcPVuO5OIRPgh9M/fVjVwiT+HgofCeRlftdI98SwdRl5b7hk0ddzVjXDPnz15fKAcFKV7VyIbl/30M7b/2na+pfADuCQB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QqgAIPB6/gVumnrxbxitJfJo4JoI/xemzE97DSKCv8A90lTwUN8D388THSyXNtcBciKuXsvZkfyK5CCN6ikT12DDParJ8NLRXRRUOuwqOXu9LOHSWTpNWJjI+KNca0OutJPkojUGleMJo8bvF4Zv7rWepLTit/PzMrnZPSy51r6rS2EpQ+CaSSUm4ljtui/BWWfleUm3XvwWuOIeg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GV2PR08MB8121.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(7416014)(52116014)(1800799024)(921020)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NCqjY3b6gb1DkbzPhYRL44g0lc4mKnmnXRoqRv0NDc07DafXknxImGKzrZ4O2ZeSYDm/UaCD/Ks5GCCBnJWpMcHuzBDceR9K5jPaXuNe32OQ2qyW6e43DFB0bK52HzcQaAa2Gkx5UvZ0RpvEtyxq/T21O0K13Wu/1zxBrPTfcFkzvqsks5HZu0ziqYr3veewtZI/wU7NmdvsvVylPWFCICYoxAUvradO2Lo2UMSsl7pInOh1tuHUq+krUMobZn5H2JG+tFHwdwj0baWPqPMQOTN7IbVKvnP7HiR/6IT5WMoDk+rKpv57z6e4dR0q7PX+x0uCUnTUHwFShDZoMx7p387K6NxEAv6Gn9YBFCsJ/aVIGZ4W45K27fp6wpxoO3hAu9jDAbFjnkqFIdjHBs+89/l0wiz+IurfpYM5DjGU87iXDyaekF2IikwI5UppEPHeV0cdqGnO4sg+byfyQ4RaOPGUgiQAVi832vhMbjQX5jDPUrVPYW5LEzOp2Nz+Y2cZURuNZIGHYO2dHX2xALpxr+TRD9f4fYd5yey8sCE9hRYhXZtjNQMZc9+56M1GbCNVZlm2dl379vZu/wd6OJZRFAjpcSgHP68McMWhogCnZpplCs2gDxZp8TPBmxMx6UxxZCM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-CrossTenant-AuthSource: GV2PR08MB8121.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 20:44:56.1106 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8d891be1-7bce-4216-9a99-bee9de02ba58 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: W3Z5N2MJrv0ul4zbbReOPRh9OKghICIL9Ln5htw9B91IKwNuAIlnJXAklz27S7yXGE9E5XLiwKrMtFMgGSvn3NfrqV1PbdbZAW2DJoXBDig= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6539 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Mikhail Kshevetskiy --- drivers/mtd/nand/spi/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c index 8f227ce81fa..62779dd3e51 100644 --- a/drivers/mtd/nand/spi/core.c +++ b/drivers/mtd/nand/spi/core.c @@ -1267,12 +1267,14 @@ static const struct spi_device_id spinand_ids[] = { { .name = "spi-nand" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(spi, spinand_ids); #ifdef CONFIG_OF static const struct of_device_id spinand_of_ids[] = { { .compatible = "spi-nand" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, spinand_of_ids); #endif static struct spi_mem_driver spinand_drv = {