Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1678625rdb; Thu, 7 Dec 2023 06:09:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGy3+OUC+C0bq0Uho8sIMjjZR2J/cQ430XtL75/zhjv412w4kuP+zWCxNRRXZ1tUtu1IG5A X-Received: by 2002:a05:6a00:4391:b0:6cb:e635:f493 with SMTP id bt17-20020a056a00439100b006cbe635f493mr3146771pfb.9.1701958191114; Thu, 07 Dec 2023 06:09:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958191; cv=none; d=google.com; s=arc-20160816; b=OiuV+w35xcJdVMZjCBEkK2gXSvKzSkLNyssBGl0xJ6uytZ9XZHBIhgSP27Xdo0caCe 3CuliTqHOVHxWolxmC6Vlw3HBVh92SAMIsCdcgHvojkAS/hYirc0nFoP0kKz1/Oq/eHs i/x89w0z0OtKC3mVpaO38FEWp5XS7gxpMBPmjJZVGBu6nqJcZ8Zy4vQydwyrv2pr3ifc 5XXt4KEvr4lhOKcnEvqksbqe4ckaflcTMSqSXq0xEg3XF5jlpqxwaxkAmLPwZunYR2AS XKldVXLMgTZ6QLWBLbgOfR9F0O9cPxRJpBgndk+7D8btlN5TlKe6mXi5FpBqa8BzuXgE UBiA== 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:subject:cc:to:from:date :dkim-signature; bh=LIh7BTCq5lgIyNwl+G2wXvrslz3MUcF/O9wQug4b4AI=; fh=lAC2b2HVVtXd5/UyQ4f+c8zFRiomUwBhgIxFmxjVl8U=; b=NSuqHx4vSXDWAVgp+vmbcKLIxIH3KT2BpiMonU0EFyHuOaEKEqrS2H/fXfCJ4HMGw8 H2F+TwStg71yJim/y0qHWipWKVGGw6WYPnIRi31hd6+kXDmf/v5GbxULiLIwDXfdE2Pd H7n5aVjvDrsTKojCaFZ2H1P0Ambv7vKDiH+2SUeFvdcd38kJjJ8ZqbQ9Kdg/AGnDm3Vz 4bNuql1gBGjU4lLzh98orISoihFz/vZ7cl4uB+2M2hiSieHRRLgTCgFULHUv7AzBP7GV x0Ev/IDTYUr0D/ZBQKOGD5u94DJkmkgAxeA8Z9RlMjeM1ng5FYPWmqc8tKR9RgnZMhPt 91Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sEcFOS2f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b15-20020a056a0002cf00b006cdd1748a04si1274676pft.126.2023.12.07.06.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:09:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sEcFOS2f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C48F58034645; Thu, 7 Dec 2023 06:09:48 -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 S1443055AbjLGOJf (ORCPT + 99 others); Thu, 7 Dec 2023 09:09:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443022AbjLGOJd (ORCPT ); Thu, 7 Dec 2023 09:09:33 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA84F10F0 for ; Thu, 7 Dec 2023 06:09:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEEC8C433C9; Thu, 7 Dec 2023 14:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701958179; bh=BjBnV3kL3685DCGYUGVnlSe0u7QDs/DMd9WjbShQbns=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sEcFOS2fRrK0cHEs+GdHYd8OBAU1lM1XGk1JZz3CyZse9dNAqmkyLFZAWALoOyjpa 8yOnSK1d+btluKAcPL48bcIwjkKLBDpH4XOIUwmB2fljU2EqO+M4NbEzS2yLhxX33a MA/N0a09PldZbjpEyegrp2kgM0S7W48yhuI14QDsHzrzyv4gkAuZIub97KFcnwn9SO mI8cstM96MDHXkT3eii/RWcJhZeYzqErIn9VDUjEtq918Y0LKqwUnKzH06FLkieYes C1KRJoc9vVJhnJXNSG4ovMWi535JfrshGfd6GsWYu7kvUeaJuNA+jZYNXwtPt/IvTg LIquhHnqet4aQ== Date: Thu, 7 Dec 2023 15:09:35 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Sjoerd Simons Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] bus: moxtet: Add spi device table Message-ID: <20231207150935.1db44032@dellmb> In-Reply-To: <20231123142403.2262032-2-sjoerd@collabora.com> References: <20231123142403.2262032-1-sjoerd@collabora.com> <20231123142403.2262032-2-sjoerd@collabora.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Thu, 07 Dec 2023 06:09:49 -0800 (PST) On Thu, 23 Nov 2023 15:23:38 +0100 Sjoerd Simons wrote: > The moxtet module was failing to auto-load on my system. Add a SPI id > table to allow it to do so. >=20 > Signed-off-by: Sjoerd Simons >=20 > --- >=20 > drivers/bus/moxtet.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > 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); > } > =20 > +static const struct spi_device_id moxtet_spi_ids[] =3D { > + { "moxtet" }, > + { }, > +}; > +MODULE_DEVICE_TABLE(spi, moxtet_spi_ids); > + > static const struct of_device_id moxtet_dt_ids[] =3D { > { .compatible =3D "cznic,moxtet" }, > {}, > @@ -841,6 +847,7 @@ static struct spi_driver moxtet_spi_driver =3D { > .name =3D "moxtet", > .of_match_table =3D moxtet_dt_ids, > }, > + .id_table =3D moxtet_spi_ids, > .probe =3D moxtet_probe, > .remove =3D moxtet_remove, > }; Reviewed-by: Marek Beh=C3=BAn