Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4159956rdh; Tue, 28 Nov 2023 13:36:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjLWQf0i40Di5oV0Vvt4Qdi6lpiYQLxKE6M3de0WEiETokXbIH7uzJP9Z8akwGspQHBgq1 X-Received: by 2002:a05:6e02:1542:b0:359:4b03:d92d with SMTP id j2-20020a056e02154200b003594b03d92dmr20769211ilu.13.1701207362259; Tue, 28 Nov 2023 13:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701207362; cv=none; d=google.com; s=arc-20160816; b=thoco/CqIv2ofsvPsmYGzp7EyJq/ab9MriMJqxj+K15C0p42UZRVyF13WJXs5KeVKm 415w5s8BGKaL/EH7nQFmumoRsy77agjRTyXOlkdGoOtevtksgy3fc0TSjrXeCqxcerWW XIi77kruoa+Bb1+4wTD2T+QyW4m5zv1qXaPksNzZCeNdCR2l3PDPJ+d41Bxr9QpYKTiK TC2xKIcge9IycEN80zGMcz1driF1gCd2s/zCfBKewkDCgJPVbau67lZDkZmuM9YDuDlu gYU6FNwuCfl+dfztDfccjHmFmGjS/pRyGPPsICOfSe6sAvmNKF6ebQsPDHXRfB+5z0Y3 qP+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yjT4sziKUHJEy6LGo6gq4+7Eedvta5S8/G2ezabEW98=; fh=KY6mB7md1Yx0RlCao+ccTFYsYK1rkvLMVu5l+4Mpcws=; b=QlhMvWAd65Oh/fh6vE3tDdSFHVZZRpsatmtoj8eD/PLbsf0HeBBD1xhQFrxcA2TIZG VZVQfHZ1HWZ6xHzhFF/SbShmdJ+KszUJBphV2tZEc/gR0XVM68/klnRinWsKIUfhYZL9 q0DghP1SJdVAgST2gAUBpmprs2713XSpcn4SHUj7BX12BVC9YblS8tm1Z4bNmGqr5NLT k2y/8E1d/bjPNo0DFDQ81hQjS5AV/Xn1Rznl/h01sz5ZYwEjKcNZLDC82FC2A95O6Y1m BR2mlBYc1FwDmiqKjW7awHiXl4ZnFjEjk8O+8FXSwZz2qhVfXpvtFRzPhqnWdoldWLUj 9MwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="PQPg8MN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s67-20020a625e46000000b006cb86613262si12395788pfb.345.2023.11.28.13.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:36:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="PQPg8MN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A60CA81EB462; Tue, 28 Nov 2023 13:35:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345668AbjK1Vfi (ORCPT + 99 others); Tue, 28 Nov 2023 16:35:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjK1Vff (ORCPT ); Tue, 28 Nov 2023 16:35:35 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48F091BE6; Tue, 28 Nov 2023 13:35:40 -0800 (PST) Received: from beast.luon.net (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 17E966606F5E; Tue, 28 Nov 2023 21:35:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701207339; bh=Q18yxCAMZdN7nqiu9m/OAbtpx24RwZE3q1MsbEWOa8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PQPg8MN/oxUvLf3w9cigr+CJprQ51vuDvEvd7dBzVyh2GmC768EDHjK34zK12p2pg MWM0fgDPctMPdp8qmtZEXizuZ0N/9r4Sx80Ftv2JaDuGw9h1E0QHEi5ruHYXxVgFNO Nlr6k+GgQeNIMGML0bjvpp/NnVVFnzUGEPGb0JaQJn9ZnSZPfD85c/qOTLcLB99rFk KiUtXt+7u66CbkWmOvFDmufFLSe4FNwlahCURVjY/PZR6BFT70ILoN52NctfvN+H/2 2yElwtwyghTzgPNBkZ3orF8iQ1L5q0DvwaNBAC1h1mPHIzBZ7LZQY5oVBdS8ExwjOW +WlSqvvisScSQ== Received: by beast.luon.net (Postfix, from userid 1000) id 4C16E9676CFC; Tue, 28 Nov 2023 22:35:37 +0100 (CET) From: Sjoerd Simons To: =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , kernel@collabora.com, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] bus: moxtet: Add spi device table Date: Tue, 28 Nov 2023 22:35:05 +0100 Message-ID: <20231128213536.3764212-3-sjoerd@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231128213536.3764212-1-sjoerd@collabora.com> References: <20231128213536.3764212-1-sjoerd@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:35:59 -0800 (PST) The moxtet module fails to auto-load on. Add a SPI id table to allow it to do so. Signed-off-by: Sjoerd Simons Cc: stable@vger.kernel.org --- (no changes since v1) drivers/bus/moxtet.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c index 48c18f95660a..e384fbc6c1d9 100644 --- a/drivers/bus/moxtet.c +++ b/drivers/bus/moxtet.c @@ -830,6 +830,12 @@ static void moxtet_remove(struct spi_device *spi) mutex_destroy(&moxtet->lock); } +static const struct spi_device_id moxtet_spi_ids[] = { + { "moxtet" }, + { }, +}; +MODULE_DEVICE_TABLE(spi, moxtet_spi_ids); + static const struct of_device_id moxtet_dt_ids[] = { { .compatible = "cznic,moxtet" }, {}, @@ -841,6 +847,7 @@ static struct spi_driver moxtet_spi_driver = { .name = "moxtet", .of_match_table = moxtet_dt_ids, }, + .id_table = moxtet_spi_ids, .probe = moxtet_probe, .remove = moxtet_remove, }; -- 2.43.0