Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1148116pxv; Fri, 9 Jul 2021 19:32:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw59DBX7TyUmoSBgMhfVcxNccAv8lhR14G1j47xlYex2GvpADGwkdtcxaryglzD7PMgu9Hu X-Received: by 2002:a05:6402:193:: with SMTP id r19mr23790755edv.104.1625884377458; Fri, 09 Jul 2021 19:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884377; cv=none; d=google.com; s=arc-20160816; b=pONZW5XgYXABhDP/2aZykPM2Qs2DF0XoO8dTldOOeqx+YgF+ZJ2yDN/UD3vCfDXUXK xeM3bHhVc8G0xnlzrjrBFlrJVbZgbrXx594kkGzjeFJVZxj9Ab0TAg1GSJPEGzVKELKj 19PqF5scVD9+8lvKOZuQ9fxz8yRHYXfdAIyg7ZST8/pkR0Vq5ScHm30+OZblw7Ut7fbq /gpReC/5welxYrbKGaxkas0e7MITpPdjM6AXOHRBgLw9+MxItKyH6PqTjTEHw1p17J5l 2gv2BRLDSNkHBYyBA5pb8nQor7gE/KV8r5zDbmq6qTKd+B5J+ddFlc/Sqp65D0BcsiY9 jNnA== 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=WEnlXJhN0aaPvHYZ8a7SuKwilsJc0rKhNQpnYtL5GZk=; b=E2qkJSh+aLgWMhzSnzpUvXKg8cdTAAM9PVVFmof5NYNQsjsxezUwSHMcfz9/+Ye1R5 sl+H1pT9QizdsPzcYi2Ogmm448IY/cmYN+FHH8+TWcteJQc36MovCXQ9AL/McvgZTk9J lP6bHKylGBt/OF2IeXUNuhtz3bmXhdNEper7zdgd/UWOLdAtWPZGZIKHtdKZiKJ32//y AOZReDKTX3UjBSdlDWIHaUyo/gX2YuTXpotm2BropFNdQwpNIdkwL+W1ieLaeyduu6Wv WgOmiDsTLDL5vYLPVoHm7Qejv3dFwlsypbgzFj+O8++V8E2P7OKmbyNp7zPJWoLycQCC PO2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JTVH+pnY; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id em10si8951553ejc.186.2021.07.09.19.32.34; Fri, 09 Jul 2021 19:32:57 -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=@kernel.org header.s=k20201202 header.b=JTVH+pnY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232910AbhGJCcB (ORCPT + 99 others); Fri, 9 Jul 2021 22:32:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:43192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234140AbhGJC3N (ORCPT ); Fri, 9 Jul 2021 22:29:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C2CE613EB; Sat, 10 Jul 2021 02:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883932; bh=4hJItN6G5Ntt+ACsURXSuo5KUGJz8kHc99OGwUEZQK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JTVH+pnYQpN6O3w9caIowd8cyEJU5rCEok5UTQ91SNrxFuC4iUcqXdYzkkHp37lcy fFvEL/b+9VBEGVi5SB+ltXCsYndd36VtTQ7n584rLK4cV7+cprE75C41vCqt3hUvu5 R9c30mBQx1xGH9/2obo7XJOR3qzl8eYdgqUjQ7O+QS+gofRMJh/9rCcgXu3aI4nPwG /OxWhTDCjEYT3KaMy8+O115ubME/xpgN/MLasdgXd0bpJXp9RM+jsjj7dgrmcKUpvV J5tpQ3njEV1NbXGfSg+xSSjGMDKcpoSnfnZ2IuvXGC46Gt5u4P4HLamtVLtsGTbwo5 jFjROC8vfatyA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zou Wei , Hulk Robot , Joel Stanley , Sasha Levin , linux-fsi@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH AUTOSEL 5.10 48/93] fsi: Add missing MODULE_DEVICE_TABLE Date: Fri, 9 Jul 2021 22:23:42 -0400 Message-Id: <20210710022428.3169839-48-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei [ Upstream commit 19a52178125c1e8b84444d85f2ce34c0964b4a91 ] 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 Link: https://lore.kernel.org/r/1620896249-52769-1-git-send-email-zou_wei@huawei.com Signed-off-by: Joel Stanley Signed-off-by: Sasha Levin --- drivers/fsi/fsi-master-aspeed.c | 1 + drivers/fsi/fsi-master-ast-cf.c | 1 + drivers/fsi/fsi-master-gpio.c | 1 + drivers/fsi/fsi-occ.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/fsi/fsi-master-aspeed.c b/drivers/fsi/fsi-master-aspeed.c index 90dbe58ca1ed..dbad73162c83 100644 --- a/drivers/fsi/fsi-master-aspeed.c +++ b/drivers/fsi/fsi-master-aspeed.c @@ -645,6 +645,7 @@ static const struct of_device_id fsi_master_aspeed_match[] = { { .compatible = "aspeed,ast2600-fsi-master" }, { }, }; +MODULE_DEVICE_TABLE(of, fsi_master_aspeed_match); static struct platform_driver fsi_master_aspeed_driver = { .driver = { diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 57a779a89b07..70c03e304d6c 100644 --- a/drivers/fsi/fsi-master-ast-cf.c +++ b/drivers/fsi/fsi-master-ast-cf.c @@ -1427,6 +1427,7 @@ static const struct of_device_id fsi_master_acf_match[] = { { .compatible = "aspeed,ast2500-cf-fsi-master" }, { }, }; +MODULE_DEVICE_TABLE(of, fsi_master_acf_match); static struct platform_driver fsi_master_acf = { .driver = { diff --git a/drivers/fsi/fsi-master-gpio.c b/drivers/fsi/fsi-master-gpio.c index aa97c4a250cb..7d5f29b4b595 100644 --- a/drivers/fsi/fsi-master-gpio.c +++ b/drivers/fsi/fsi-master-gpio.c @@ -882,6 +882,7 @@ static const struct of_device_id fsi_master_gpio_match[] = { { .compatible = "fsi-master-gpio" }, { }, }; +MODULE_DEVICE_TABLE(of, fsi_master_gpio_match); static struct platform_driver fsi_master_gpio_driver = { .driver = { diff --git a/drivers/fsi/fsi-occ.c b/drivers/fsi/fsi-occ.c index 9eeb856c8905..01eb04d52bf0 100644 --- a/drivers/fsi/fsi-occ.c +++ b/drivers/fsi/fsi-occ.c @@ -578,6 +578,7 @@ static const struct of_device_id occ_match[] = { { .compatible = "ibm,p9-occ" }, { }, }; +MODULE_DEVICE_TABLE(of, occ_match); static struct platform_driver occ_driver = { .driver = { -- 2.30.2