Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4084649pxj; Tue, 11 May 2021 19:59:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMiNVZ4MBmeVR17QXVyCcl+tnqA0R5RdgvGuNprScrs7JtFy7ZB6TWGHwH/O4V/a9cnsUD X-Received: by 2002:a17:907:2071:: with SMTP id qp17mr1901226ejb.15.1620788345473; Tue, 11 May 2021 19:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620788345; cv=none; d=google.com; s=arc-20160816; b=jDcNlFTODvjnY0VN7DbYGSPxhajEZDXxApm+n+S5E9bEQSPH4hbD/7956wigRhVPh3 LtS/3yhplwGi5e5gWauuoP/Xi9Wwm5Hf7Fq3MBvDjOpCfPBJVTDKpzxeruvCe3H4ITzC 0vBcjlirxlkmKKc0s8L/TnOTBdZyOpqWB05ZDpGb5/4yz9mh2f1XrcwOOhlLvK9CMETt HRxFyBQ2CwGq6vgCN81s/eLycuabhNKApUn/I9SV80fzylAX/QanspM1ZtPUfRZmn8fF H/OWAQJPYaYsIFBF1BlWjQBW4tRE151CAL+gzKAPm0hil52UY6D4lu2W5EwYrYOKQEk/ epyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=i8ax8+9NzSNeClBYEcYpTb2l786HlIG/uTKyVfzVd70=; b=tni/8OSrY60MZeRA/PFcF6SHHiFz+WYp9ZboXb52m3xcy/BVsOOavkbOzLA/IsFU9o gZhnhxILrkjTBviIGoXO/DErD30lA1FoSPG5DAyukpi1hwlrPmUUSZ0b8aEAjqatVJIN mEOc9CBVtmkQbqMWmRIrMxgptQjHtCpP78/UXUnP6yuH0D/k7wfVkuQlvS5WpqFbxFuR 8CKEhRFBy0jeEnyc7XUGfnX/fITaeWXmxWY1rhxB8IwHnrVnTz61+RnAhExPZN+W2Wwt 0zB45iorhBbDaexRGD3hjYzT61CiXg5HeETRNDmI2NSBs8kTZ++eIYSM0aWJ2vgwX4c0 xbgA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay17si21176397ejb.496.2021.05.11.19.58.41; Tue, 11 May 2021 19:59: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbhELC6v (ORCPT + 99 others); Tue, 11 May 2021 22:58:51 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2488 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbhELC6v (ORCPT ); Tue, 11 May 2021 22:58:51 -0400 Received: from dggeml717-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4FfztB3MhBzYjl0; Wed, 12 May 2021 10:55:14 +0800 (CST) Received: from dggemi762-chm.china.huawei.com (10.1.198.148) by dggeml717-chm.china.huawei.com (10.3.17.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 10:57:42 +0800 Received: from linux-lmwb.huawei.com (10.175.103.112) by dggemi762-chm.china.huawei.com (10.1.198.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 10:57:41 +0800 From: Zou Wei To: , , CC: , , Zou Wei Subject: [PATCH -next] reset: brcmstb: Add missing MODULE_DEVICE_TABLE Date: Wed, 12 May 2021 11:14:43 +0800 Message-ID: <1620789283-15048-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggemi762-chm.china.huawei.com (10.1.198.148) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/reset/reset-brcmstb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-brcmstb.c b/drivers/reset/reset-brcmstb.c index f213264..42c9d52 100644 --- a/drivers/reset/reset-brcmstb.c +++ b/drivers/reset/reset-brcmstb.c @@ -111,6 +111,7 @@ static const struct of_device_id brcmstb_reset_of_match[] = { { .compatible = "brcm,brcmstb-reset" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, brcmstb_reset_of_match); static struct platform_driver brcmstb_reset_driver = { .probe = brcmstb_reset_probe, -- 2.6.2