Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2740565pxj; Mon, 31 May 2021 09:33:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPZwtCJ97F2rzbItf/7HPBdLdgyqaiie0KeJ+uzcE4RvsfwuTXwDmXVirUxZ7oEvQcBmvq X-Received: by 2002:a17:907:d02:: with SMTP id gn2mr23124437ejc.207.1622478785127; Mon, 31 May 2021 09:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622478785; cv=none; d=google.com; s=arc-20160816; b=F+rGHOKu91JyYzU/oVq11yjo3D1duXQHoVHzkDPosskVc3JDEgmC2Pv3CpnusvAEhZ HqF8faHrnTzADHSRhBBm2jIfiledA8aVFlfWWQ1eWcMaSsZYarTw5rvOS9Rh1XwHhP7g zP/LJtnNqEmiWv0K3xTl1ss1TyqAA/wROU/4ovT07WPmUDFo9dBbGlyOuTJAD7VqwEKS AD1WIOOEABrrUASmhJph4uDguShMokdZk9FD+UnQTHS/I8zHWQ1b1PmsuL+OYLqhXGIo MZTu//XI+n9HNYJF4lSs4HfePKam+Ax9u/HAIYluCwgvGFsiPXiEkTO35ij98X2QiP1x CSsA== 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=HntvoH5OooGLl1WGFbe8AI9DAUgbG30E4p4exIpoJb0=; b=BbLNzdXcWrncCjVQqC5l8HF+UPA6b63w89PlSp7Wl0pbPsGwoK7fuJhxOjdBjJBKf8 rxy+oeynCzJOIVVu+0EjPLxvn5Vpo/KvG0QECX2RnZs+7I1fzVv2ef2ld0DimP7QP9zJ EKdWMdcUjCU9Wp8LoDJunix5QwuBcjHu79Zlkcs6cigHsWD8YPxFc2cs4XC5nSqqDcqU FCkA3C+Z25tO8G9LYIM42qaAp+CSe04tWEUIWND4lsgQ18sCs621vwK9AKM4fPC2g621 IYu7iXYpXXQ1rwV//LiqrwxIA/PvI0m57T1oxcedicWNu19ibT6HDvXWhQyX/UZmQeO4 UpSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JsZajdpS; 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 q17si12532947edt.177.2021.05.31.09.32.42; Mon, 31 May 2021 09:33:05 -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=JsZajdpS; 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 S232991AbhEaQbF (ORCPT + 99 others); Mon, 31 May 2021 12:31:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:40210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231760AbhEaOqM (ORCPT ); Mon, 31 May 2021 10:46:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3979F61922; Mon, 31 May 2021 13:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469344; bh=40J/3GWj3gKLWslHKs2Yo2Y6QSbX0dqakuseEQRoHDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JsZajdpSDB/k5LOSTKpGVoANOiSR5wYNFtT9sfdHa/n1GO9bEjTCZeQslJAXqjM1t 56GaqOlmm2+FcEsRetxJt49xFceh4fALY49oUUDv4MEyW/birFMgjVy/wLBCp65lAc bFYoZ+D3KrjaO58mKdr+WZtWik3O/Qv7iIDkMsis= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zou Wei , Bartosz Golaszewski , Sasha Levin Subject: [PATCH 5.12 161/296] gpio: cadence: Add missing MODULE_DEVICE_TABLE Date: Mon, 31 May 2021 15:13:36 +0200 Message-Id: <20210531130709.273740692@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@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: Zou Wei [ Upstream commit 1e948b1752b58c9c570989ab29ceef5b38fdccda ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Bartosz Golaszewski Signed-off-by: Sasha Levin --- drivers/gpio/gpio-cadence.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-cadence.c b/drivers/gpio/gpio-cadence.c index a4d3239d2594..4ab3fcd9b9ba 100644 --- a/drivers/gpio/gpio-cadence.c +++ b/drivers/gpio/gpio-cadence.c @@ -278,6 +278,7 @@ static const struct of_device_id cdns_of_ids[] = { { .compatible = "cdns,gpio-r1p02" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, cdns_of_ids); static struct platform_driver cdns_gpio_driver = { .driver = { -- 2.30.2