Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2662116pxj; Mon, 31 May 2021 07:41:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxceajwDq90x1hB3Z4c+h3tUtJ4ZTJU/MKdqlDFRHLs2BVsmqEQ5+UrfjqJfUyQw2jbekBG X-Received: by 2002:a17:906:7f06:: with SMTP id d6mr23384718ejr.189.1622472090453; Mon, 31 May 2021 07:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622472090; cv=none; d=google.com; s=arc-20160816; b=M/z+EnymfWM4wyUUIjWsVgY9SLIRjmI2XvlF4nB6jbbDo0SArNDDg0WnEDUOnnQkFl oxcnxC+YX5rgKjNSGS1orLoxIU1qjRgS8gbN87+kN81U/Fckdf6D2/NBz1KtU9AbVFcs A4if+P/b7AxIkUaZlJKaG5kKa7n8iMgus9eUixJ4bhky4GlmL00j92wQEhu0j/ja1QJ0 0pDtkFezYhW6jeiOIpcreAKRQWt8hjHnu2CGU9R91IkUGCD5znw9C0TOgoGQ6URrlSOH fxeI/ir/ZJeu3SqM4Ry+PpCtq/uW9RwKIp3Mfx3r/aeprNIpNXcXJEaTlECQhoLCT0CN VUqA== 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=wlks4y2E04z7m5KY9gorS5tuqia44X18oiLu2e5o4Z078+8hRkg9jIQBDg2+aDHLUj yfcFcQC5i0lSndubgvOmtkdB9wgHuNh0f8JNnXarbDXCJBI2Blg8k5NCozoVwpvcPCJY y4afTJTS+7eMQK06vo+x6+Evi8cG+kUSzpkpzzUNY2cOPrkpLKajaFciJjOHAprARsiO W0WK/kw16ls6hMV0uAzHWSQQ6NmNPRrvsSJjY+g5xMZYVL2miaDJp6XsqSQI7DI+MCbu wyvqPan0qlOYDJq3Vhwl92Lbjy57GBEsQL9ut7E+T9A6TDsfVdn+cw2CP1Uh1mPG36Qy IykA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wk1aW+FJ; 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 t16si15991604edi.299.2021.05.31.07.41.07; Mon, 31 May 2021 07:41:30 -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=wk1aW+FJ; 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 S232815AbhEaOli (ORCPT + 99 others); Mon, 31 May 2021 10:41:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:60906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232992AbhEaN6b (ORCPT ); Mon, 31 May 2021 09:58:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 53FB96193B; Mon, 31 May 2021 13:35:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468137; bh=40J/3GWj3gKLWslHKs2Yo2Y6QSbX0dqakuseEQRoHDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wk1aW+FJdvlX+S3Cfkk6lj5vkSiM9Z8l0ARatRytblvROUQ+f+PS5oLI9eIYvBiFl oPg6wvrOVJGe8L8y7ty+Ta77ZX6EUraO4UvZ2jI1OJVgryVMXH9iwmFL7z35JQ0usT HQvT4KIcf5onxAr0WvjAHeU7Z670se1w0HvMtQK8= 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.10 131/252] gpio: cadence: Add missing MODULE_DEVICE_TABLE Date: Mon, 31 May 2021 15:13:16 +0200 Message-Id: <20210531130702.460158818@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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