Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp376459rdh; Thu, 23 Nov 2023 06:24:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXrcJv0xEwzFo2lm+UeZ/2CIldUweHFumPIWqG5tMTmbdCcryrGFmnLRVUbEWQIWCn6K0G X-Received: by 2002:a05:6808:23c9:b0:3ae:501e:a64a with SMTP id bq9-20020a05680823c900b003ae501ea64amr7453901oib.10.1700749472967; Thu, 23 Nov 2023 06:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749472; cv=none; d=google.com; s=arc-20160816; b=qG4AhZ3ZXlQcFBSEnJo5HeIJJQ5QDM57KvdDx/63dDt82g/4hFwZMRnqxIKw+LZurp /XnGR4M5AfvhI/dgTfpqfEfJJE6tPjh31+9flr9Z+wEE/x8rDPpmUhHZcK60i6G/N794 FH5oZjN9uTKNdjvDszkfywMPfCV/qdiBIyhX4HYZJtYzDpDp0ZDIv2XXhJ+RK3jR0S2a N26A04BlfhDrk2bNuZNDd/lvHLNKBILkX0q68hpbQsQSnKjk/olKRbTMk4krk7UOZOKy OZ5DF3J2BIUqx0s2eV7I4LOz1cVj6DDy5kPtESOHH8upUziMy9C0bqdeXGSTgom1sRXq 2mOw== 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=Djw735y+iaGfWBxAfLVDwqRzjqYhz/qn/qnIrVsGNUM=; fh=rmgknCjgm6p6GyN0bd26uBLrWuPrro0NIU2ZlfQAOyA=; b=Y8A74T9+iv0L293Z+8Sjbkt+kI+Q4Xov9YbxH+GSSvPkc0Mm0LqXazSXZnWcUnhrUe yJzralQfdjE6mmBODU4EMQtyDMv+bY5Q5WT/YA0fCptyjqgKVruOkzNeifqO7VbXJ6Kx cqEOj0Y03qpLIZPvQywoyVKOHCDbFogFwUu6KLSRF2Wgt/o0uUI0KkqhD8eGooCphg0E 4vp7bka+SKkJl2SWEP+idvOx1Ay0UjkS8irR9DOVMBZVrhWXDLChnabcBCiixbLKZCQv pFCq31jpl6HKYY/49dlTSdgHaKpUvso+Yue/yEZUxe6it7y0xPXd6q/e/S0cr78yRpi7 EmSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BlXKF97H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ca17-20020a056a02069100b00565f0e91894si1461531pgb.394.2023.11.23.06.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:24:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BlXKF97H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id CEEF6829E928; Thu, 23 Nov 2023 06:24:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345758AbjKWOYE (ORCPT + 99 others); Thu, 23 Nov 2023 09:24:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345750AbjKWOYC (ORCPT ); Thu, 23 Nov 2023 09:24:02 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C75D44 for ; Thu, 23 Nov 2023 06:24:07 -0800 (PST) Received: from beast.luon.net (cola.collaboradmins.com [IPv6:2a01:4f8:1c1c:5717::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id D0FB366073C3; Thu, 23 Nov 2023 14:24:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700749445; bh=hBBVYOni7cSkfCkjnkHwiGOw1ojnLHF2HyXwoM95mOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BlXKF97HYmm+2kinqxiHZS0U2qBNNec2ICOCN/0Vrxb0xT/QwMbm3iUjLn5UeVLhV pXjjyr4uWLhOnNqm+V/aJGNuFdQAdOWtJHPPjzd0nhO3vljQuLb8McIBcVL95dI113 s+f+DDJoE3v1YaDsMH9Dmq10O5jT5SpboCffIadjFAXaiobFhXNRZEKFzyvVhfV5/I 20O8JS7f18nwgsDGlebzLsAiz1HGnFXEBcD3pzxd62R1HIx8kMK2HI0H1kT3d3mVwI wcpLP+iXtaFs0FzVXjjTHHqYz7OBltEyduB3CCfv14ByFABTOy8XmdmWCV2UZPyObb kfBNEq4Om8HNg== Received: by beast.luon.net (Postfix, from userid 1000) id 42AEB95B3A95; Thu, 23 Nov 2023 15:24:03 +0100 (CET) From: Sjoerd Simons To: =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/2] bus: moxtet: Add spi device table Date: Thu, 23 Nov 2023 15:23:38 +0100 Message-ID: <20231123142403.2262032-2-sjoerd@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231123142403.2262032-1-sjoerd@collabora.com> References: <20231123142403.2262032-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:24:30 -0800 (PST) The moxtet module was failing to auto-load on my system. Add a SPI id table to allow it to do so. Signed-off-by: Sjoerd Simons --- 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.42.0