From patchwork Tue May 11 03:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zou Wei X-Patchwork-Id: 12250419 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.4 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,URIBL_BLOCKED, 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 07DA8C433B4 for ; Tue, 11 May 2021 10:22:04 +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 3E73361925 for ; Tue, 11 May 2021 10:22:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E73361925 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=+wTDgm3lE6NUKpF5g9KYUFLi82JXeA9lGmnt4mPxCDs=; b=U8+nTnmVmmc1K49b0dgudsSAoP smV46/i7cRrYL5AVHQ1GfsQOJaCdSrt82U5HaqUynQ8L/fVvFfVSRYM03C7b5SnKepp2zpwoK4EM9 12cXP1UENFlxVrCMV9c7QA2cmTIAHWvh7PqRSZucn4IrzyvQdjYaYvlH3cbcYa5s3lphY+95n4C20 iZ9trwQGNMmrYKFXXz6S0oIo9WKVTlP2h9TzNaYeUxkVtA5iU3sGtgQb7XIwMjONYb6Dww0fIOT0/ oa1AAr/0/vD3H+HBEWYCUBB6mjUcJ6Oob/fISPQfxfL3DuZ2KJoOUN05KUBwdBIyu+imsMCWFcHyl tFFOAdKg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgPVY-00GtZr-9h; Tue, 11 May 2021 10:20:56 +0000 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgJCP-00GC8O-V7 for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 03:36:48 +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=+1jJEHvEc6QhgHOy0HR9Hb2ezZYrJDJp+1Ujd5qRSso=; b=bBqWl1m5fhrl30fzCqO408sATG Di1HuiS8kFfZ1ylctyp6cU7ts1o4A9tgCwS8CIIL1Z9QpfyobNRA0uHNOEG0Dp56cfb7KERk+0fJU xHEYKTwKnRhr9B8wiXj15wVQNUbCc3cg1n5OGeHSi39ZYJTtQDmtymPo72+k49p3QT0Ic6dFitbWB 1u7Qn1TylcN8bW3hFkwuQ81EvS82mI3yW9nJnxJcjbY2SK4nsg9Yl+a2v3xreAG0VTWBpfbEZzHAS v+fpIaqzsUr+DV2TrDHPaWDVWyiElnrQw3AB0vduvhtzuikv1MLVn6KuZQyO4TJyt3l1P5745uCjm rRClRAew==; Received: from szxga07-in.huawei.com ([45.249.212.35]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgJCG-009HW2-Uo for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 03:36:38 +0000 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FfNn64z1szCrFZ; Tue, 11 May 2021 11:33:46 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Tue, 11 May 2021 11:36:16 +0800 From: Zou Wei To: , , , CC: , , Zou Wei Subject: [PATCH -next] regulator: uniphier: Add missing MODULE_DEVICE_TABLE Date: Tue, 11 May 2021 11:53:18 +0800 Message-ID: <1620705198-104566-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-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_203637_198716_00E35804 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_203637_198716_00E35804 X-CRM114-Status: UNSURE ( 6.17 ) X-CRM114-Notice: Please train this message. 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: Masami Hiramatsu --- drivers/regulator/uniphier-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/uniphier-regulator.c b/drivers/regulator/uniphier-regulator.c index 2e02e26..e75b097 100644 --- a/drivers/regulator/uniphier-regulator.c +++ b/drivers/regulator/uniphier-regulator.c @@ -201,6 +201,7 @@ static const struct of_device_id uniphier_regulator_match[] = { }, { /* Sentinel */ }, }; +MODULE_DEVICE_TABLE(of, uniphier_regulator_match); static struct platform_driver uniphier_regulator_driver = { .probe = uniphier_regulator_probe,