From patchwork Wed May 12 03:14:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zou Wei X-Patchwork-Id: 12252595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 985BDC433B4 for ; Wed, 12 May 2021 02:59:54 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 240F461278 for ; Wed, 12 May 2021 02:59:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 240F461278 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=hGa4h0lSUncdYMNupZStcA/fUDH5JTNR//ZblJVhfW0=; b=CHvwAUuG/46f2wxczEw2kClxKH f7Dn4O5BHQd2LQqTmluY09uyeWoD2JZ6B7Vhc4sdLI9ecXsG0EVID5buEzecfXQn+VD+ttnE3BVDw Ys8gpmy6OpSYZSCZtf/AL5SPOQMXVnE8YBC2TYQNV62X/vPXUNdQ7Day6BpE6nXnBu0chytBgJmqJ JWzFu/MAGsTNVKU44CFoG1+6eNDXU6I8KjFNEv4wGsnZPHI/e8qQaj3m33jG2JeE42XDu1BpYqwYJ GuP4kkQImfRhxWt7o3SoRCLqVaJuMeXrmiOeRL+US3G6j9vVWByVItV+3HYL0GM1mCiVmBlBfZ0Tc j6Nc2+yw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgf4N-001pMI-Ua; Wed, 12 May 2021 02:57:56 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgf4L-001pM7-3B for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 02:57:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=i8ax8+9NzSNeClBYEcYpTb2l786HlIG/uTKyVfzVd70=; b=CCZfTHgV/ddpDasWmsN3qAGc/5 hLsvVXj1Y/u0CqkUPeDTLkpq5WCp/W4If4Th1B+LkhilkBNN/zGoGxQgeJjOOwZxTaUbdE8WYPCSm wODg8n7zPDEMhLEIL3VwXXTdhC8reO7DXV0NSQ4VTizGIzIx0nU7jmstMpTt5Xyy00kk2OzIWwB+f gePZqYoujl2vPE1WlZVcRCYg3MHGwDS++Ic2jGP2tXpce+qPqUz9CiojiFlgrFY7NRNAGrr91XjOV H26oR0BzyPAotDBf7OF1OoZXtGtVlv41TsF+todrZ4V8jSHt7jGZgVcrzQKecYn0o+/Eyj1LBeQSZ rXFeHe+A==; Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgf4G-00A3dr-Sh for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 02:57:50 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_195749_111822_E44EC31A X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Acked-by: Florian Fainelli --- 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,