Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2707541pxj; Mon, 31 May 2021 08:44:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy52/3BU1OZmrra3eleuAL+1nTxFjqZejVezTpu8lWqPuf4tnPg3cPLPz2g6lwFpAhLJ8T8 X-Received: by 2002:a17:906:b296:: with SMTP id q22mr10800407ejz.9.1622475881231; Mon, 31 May 2021 08:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622475881; cv=none; d=google.com; s=arc-20160816; b=NWI3ZaRp5O5KXZNWdKl3Rju0KuM3BfVEdyfyMN590lTvrbt7Bst57uaqWe09IjtLyq OJaV3x1eYOR4bCKF9gjKBBOkScN3ICoxo0hKGuR/x0qR1Jsr6UL7KyWDCQXaLx4x0Mb2 bE3EfPyb5rXwp1j2XDhObCPzKbSbt6hqFO+2HUVyiZChBtu8A44Ya5QMMTeNvgFYt/p+ 1v3YDOZbEzAWql7Q00KzUZ7Usg05BgYJRz56UIyrHfcCWCNursCRtgcMXahHUPjBdvzt 3GLLhpVYLj5A/YtAViofMu7UWmGDnEAHeGNyb17Kgu7xJcBvHLMpkxHkRXVNzjxpcWxA pj8w== 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=g6QvD+kSvlYvN0fePQ2iP5fnYjM8PFVTlgbDaTxoMQsPmpa02r9Ud1khiLW5+8qVzD xgBnOArMIdAyM3T1Mmpka55ryrehfvWLcRjDRbOJi/5pcEfPdHxeO+plH5955Fo3kWBI VSokli1izvQ8j5kPII/pZJVkKEEhIms5QPsv7ROiq8mR9i84epQ83mG27CjTMeVNjKYp W/IF9SJ12OQ1sBoHxTiaiRHeaL5jQ75JiOU3xFutjeFFEgKPdaBSXg+r8gkSSmSSA2Zw gbIy3Apw9WheEvBJyRExVj0HceFnEEojXSiKrtcnDNgrm2FX7u0X3wRsS9p0hmG/VdgV bC5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="h08X/rRv"; 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 hp35si4566871ejc.227.2021.05.31.08.44.18; Mon, 31 May 2021 08:44:41 -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="h08X/rRv"; 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 S233698AbhEaPmJ (ORCPT + 99 others); Mon, 31 May 2021 11:42:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:48850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233666AbhEaOXa (ORCPT ); Mon, 31 May 2021 10:23:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0DEE561A06; Mon, 31 May 2021 13:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468752; bh=40J/3GWj3gKLWslHKs2Yo2Y6QSbX0dqakuseEQRoHDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h08X/rRvkiPNca1fKZJ/1aqAOiVMEzDBxjcwt5KVw8YaTXGNLrbwNS3IDb7nLsYKs xXtmcDklmMqpvNuCHRdBtuR8yLXZ0nZa8mBnSBUegK6pCFodHZT9v/oOBYNr8HkNJx 7aeXJq47GNHr8RwoovATjQyrh+2ZOV3QKA0CY/sY= 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.4 087/177] gpio: cadence: Add missing MODULE_DEVICE_TABLE Date: Mon, 31 May 2021 15:14:04 +0200 Message-Id: <20210531130650.898758766@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@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