Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4150960pxb; Mon, 27 Sep 2021 10:25:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFWiWunarnpU3xWQb2LB/4xfZu/8Jt3RYM7OJ7xmmk14PoeSsoocKBFvAAEc4fsGPB5g4w X-Received: by 2002:a62:7985:0:b0:437:36f1:d0df with SMTP id u127-20020a627985000000b0043736f1d0dfmr824163pfc.52.1632763528160; Mon, 27 Sep 2021 10:25:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632763528; cv=none; d=google.com; s=arc-20160816; b=ej63YkC5rdxza+gm9gGNssHfr+3kkQ9IW0NnzaNtGi5AY7WL3ayv5mjvGLe1cVYXH+ iOPFIjdwBCIxfAEWkScdat7b0oNjFrfFDM+Wg6ppig7AFYtSMMSgJL3qBXy10VO6Ti+9 K4LxUDThVCey4VwnuYA1XaXXEbwu6R/ykL3KkJLdZEsTZskyrjBTC9J5DhwL2B0Cab9/ LELo4WErojyHmtmVsAO+yTpD6Hhgt42EsClhhcDG0Wck1Dx9NV8WfRPe8N6GZ0VM8S3u pBL+KYMLwWePkGzT6jx98wGiupBDWqYsANSfQiOvST1JvHi0FGD7jIErOZpWdkqHUFD2 9sJw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=M1R4MDcB0E5e3f2a97slYaPL8kmcCVEG+PHWcGJQuNs=; b=JZo880khZlNoFXBHFLCYApA+RD4wJjpM9y/jq3m6LOjRhef96E9CVfp23iX+59AvsB MVQz1UEOU/xFHVv6WUjwhc9yTuCMbGFWM+xKTcYoSNA+D34SmYpenJv7MsnR/bKGEYQF 0Jx0QSoLHJ4kL2xfwLQY9murKPj4aq55XFwN7S0ReT+qMNpqdH0N1yppwpeU0jPC5iMS Ehyb7eyV5yMFjma60DCoFeVSWU+IbdhQvMolD0xo4QBaex79lVR43ON8NPOS1eEDcnej i8iIBncDWzaqPOCgZGguY4OXWBY4O1DZsaUW1eZ4oz24OR5yesL0hrjFA+zAiImPUGYY NVvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rBH01gNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si7081536pla.308.2021.09.27.10.25.15; Mon, 27 Sep 2021 10:25:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rBH01gNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237004AbhI0RZp (ORCPT + 99 others); Mon, 27 Sep 2021 13:25:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:36854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237112AbhI0RXK (ORCPT ); Mon, 27 Sep 2021 13:23:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2CC296108E; Mon, 27 Sep 2021 17:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632762881; bh=S5HE0XjUMBtW5wljJ8wi+/kxUx/2wg/1d1IAK8AAWiI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rBH01gNIxRX/yPu8rStqeP051d4iUIFQ7El6xeYxgtL8FljjioHEdamRkZ4oSWITJ G0ct9vyJE8WZhRAAn+NPcElfKZzzmFN+B6BazyRbRyvTxlI6P1uYhGMiM4FGX2My3Y sspQrDRc6v2HF8sBaMoBL52B4eSdMTZCF1m6wkdk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , "David S. Miller" , Sasha Levin Subject: [PATCH 5.14 085/162] nfc: st-nci: Add SPI ID matching DT compatible Date: Mon, 27 Sep 2021 19:02:11 +0200 Message-Id: <20210927170236.378470281@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210927170233.453060397@linuxfoundation.org> References: <20210927170233.453060397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown [ Upstream commit 31339440b2d0a4987030aac026adbaba44e22490 ] Currently autoloading for SPI devices does not use the DT ID table, it uses SPI modalises. Supporting OF modalises is going to be difficult if not impractical, an attempt was made but has been reverted, so ensure that module autoloading works for this driver by adding the part name used in the compatible to the list of SPI IDs. Fixes: 96c8395e2166 ("spi: Revert modalias changes") Signed-off-by: Mark Brown Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/nfc/st-nci/spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nfc/st-nci/spi.c b/drivers/nfc/st-nci/spi.c index 250d56f204c3..e62b1a0916d8 100644 --- a/drivers/nfc/st-nci/spi.c +++ b/drivers/nfc/st-nci/spi.c @@ -278,6 +278,7 @@ static int st_nci_spi_remove(struct spi_device *dev) static struct spi_device_id st_nci_spi_id_table[] = { {ST_NCI_SPI_DRIVER_NAME, 0}, + {"st21nfcb-spi", 0}, {} }; MODULE_DEVICE_TABLE(spi, st_nci_spi_id_table); -- 2.33.0