From patchwork Wed Aug 14 10:19:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Kshevetskiy X-Patchwork-Id: 1972319 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=U3kA3vHU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4WkPQK4hPXz1yZl for ; Wed, 14 Aug 2024 20:20:09 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 13972889D3; Wed, 14 Aug 2024 12:19:46 +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="U3kA3vHU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B4C62888CC; Wed, 14 Aug 2024 12:19:44 +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,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on20700.outbound.protection.outlook.com [IPv6:2a01:111:f403:260e::700]) (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 E4AC3889BE for ; Wed, 14 Aug 2024 12:19:41 +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=Mfb4DEeh4gY1sG00OSgb7whDRfL5E+eVEosgp8d0/J/d4YM4dUncQcbzH2hlfAtwQxNmeOd0aPW8KMblyfwiADiWMF+DJVS0dKgW/vo+AuA4/vGU6Vpq7bTCrV0cHlJ4eBXPloqUkIfzy6fIS5S3gUY+L3NiJjn8yV9Zx92jC+UlFrdfJS/DB+ra4e7Da8ZM+VVfRUx9mM9FMpWPVg0w6wnp09vh0hTK/Fuz+JsrWBmyoMtOcVxrZVGeAnla9ZdQc+YEFGMbbQsOEHdt2Yvfst3LCJ7ZuuOEZoHcqCcKk8sWq3mIap8cPIHTgWfs+RRjuinHMyRe7Wy8o5lO1ALS8A== 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=I/3PaClzXbfdcOYlb/Qp4Seo9yt00/GuDEkMiZwmR20=; b=FpHKeLxTK1xJ6JoBG+9z9DPqSOurXeT/5DzVNYdZv+GcKdqwx+Ufhe/t/8dztaII6XMp8EPxKiAyYJMy67n4lxKOdtjEGk2y7qCraqtFqXvwFPhZVaCy4o5YfwMjTUN0SkbE75up4HFDqwrCcAEYMP0OmjiS1eDaImXmSLA1pyd+uI/eGUtzyOYwNYlmU4ZI8D4NIBw2Jqej2cq/SMil//En70kiSqpIZP0M+X3hst13foOEKwQMNQVK7ckoALfUwO/innv1+rzwK3gF7Lj2L9biOK7EhOQLVV/yPN78j7ALavxeE9SjfLCzF7vMOglFdKZyvZUxqlS2ZvCpo5Dxvg== 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=I/3PaClzXbfdcOYlb/Qp4Seo9yt00/GuDEkMiZwmR20=; b=U3kA3vHUyYncCFshmTxEMTg8mHz3KvCSLtX8msyl0h4KXcfyZVAXiSgXmoiznyZNKtQm6qX4wCBZ9LMzdpt2z/Z5NJPkK1MzyTXUHw0rtZ8krNPBIA3yP3nKawdz39iHdag8nXvjpwS9joftbFbHNF4TeSHZrnTO/VWJwG0NeCBG52E23LQ6PglLgMrc7UjwEzltt4MLR84KnrvZMWRgjnXLiJ3OZzcwPreNY0JWvUy1gChK+EK6kFjXeb08qaUxUs6wZsPBX4LL7qAfd5+97Ehd5KYmFLA8wtZzjBjU/IX4p5Jn36HHxa5FHo226JJeRXwYH3bI1mU3rHuphSCclw== 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 AS2PR08MB9524.eurprd08.prod.outlook.com (2603:10a6:20b:60c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.16; Wed, 14 Aug 2024 10:19:40 +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.7875.012; Wed, 14 Aug 2024 10:19:40 +0000 From: Mikhail Kshevetskiy To: Tom Rini , Dario Binacchi , Michael Trimarchi , Frieder Schrempf , Jagan Teki , William Zhang , Simon Glass , Chuanhong Guo , Martin Kurbanov , Igor Prusov , Bruce Suen , Alexey Romanov , Miquel Raynal , Max Krummenacher , Francesco Dolcini , u-boot@lists.denx.de Cc: Mikhail Kshevetskiy Subject: [RESEND PATCH v4 03/10] mtd: spinand: add missed add missed MODULE_DEVICE_TABLE() Date: Wed, 14 Aug 2024 14:19:11 +0400 Message-Id: <20240814101918.1347167-4-mikhail.kshevetskiy@iopsys.eu> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240814101918.1347167-1-mikhail.kshevetskiy@iopsys.eu> References: <20240814101918.1347167-1-mikhail.kshevetskiy@iopsys.eu> X-ClientProxiedBy: LO4P123CA0401.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::10) To GV2PR08MB8121.eurprd08.prod.outlook.com (2603:10a6:150:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV2PR08MB8121:EE_|AS2PR08MB9524:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e3408f5-e747-4d01-8cc8-08dcbc4a9b75 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|7416014|1800799024|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: lfsWOQEXOp2A4OSFeXSWEPADUy5Nof18jFGzUCcEKUeD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LOKAsSf4mwpaZ4J+fdtFPVLkH5qVafH1Go2oGL69idsT0Qz7MxVXk4FT+0uyzbEuS4hqcdOLASqJyTN1KnY1Dj/aUYU9oWfcIBrIzAmFYmAM2LAkNowCBxXxQcrWUwfd/NcO7J5ylwNLuiALLQG+qv4too+STHkB/UBYKCXW1BcCMg+Qg0vcAPLEphfSesD+lHIdSW2dpxrjZ9QHf14f04XHJTe7cqQioOd4SRJk+WgsIiNU9pOtZz98LCzfEx8iAOLoZV7Yeqf27kISMkevcRikXEg36dOpLbTeOED4agrLC5V/gxRPnmhstE= 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)(366016)(7416014)(1800799024)(376014)(52116014)(921020)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: U3qQv30ZuPnyDf13Nd4C0j32nKe2baA6x9uQMhLx9Xi460vasxu1hRZHRUMX1oKWlt33IFKMzhRhdftiW2TQzXAUFj7oUFCZWG/eHbSOgujQoD1+J1frNKigMxbTGGwH3XR5U3bI2E1JQDn/4WCycxgEylg/s/vQdYUDevE7jqRtn2O6RJrsTU879VxzByHB80ma+ebmB0tB5JmmtIJN/0RE5k6JeHtOQudKr6Qpji+gsxD25ADvOm/5AsJHvMDlwSVH7xNEjhUS020DDUf807Ku0dvm88OYmdCKjXavY4RiUuhTdDt0E7H0m76C1eyd0IL0U93pocKCdw6xo2zv9bsgMQqV5tR0u27K4pG9MffKKLJw2n8uxs2G/f6Y3R5ls1Xp918H87UROkGwbkWzsY0xNm1koC0ERTfIQ/pV9nkOby6RNj5VGDMhy9e43jwblkZQLWLQ8Oqqt8mBziaJSEhQnGWSZS2Pj6rO3LtkS9LeL6BYWe7hOR49zohC/m4Aut6kMRJ/nbh881IXtgwODqzikufiN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Xa/A== X-OriginatorOrg: iopsys.eu X-MS-Exchange-CrossTenant-Network-Message-Id: 7e3408f5-e747-4d01-8cc8-08dcbc4a9b75 X-MS-Exchange-CrossTenant-AuthSource: GV2PR08MB8121.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2024 10:19:40.4269 (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: 3IIgwLngYQu+CR5SFXo6ldnQDwANd+zXHD5rkjALM6DVSIQGKBmMdVUGGuMZ+PIpmN0y+ivdjlnFR966hDHFbLLgXHUEM/MyGL+boYT0qjc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9524 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 = {