From patchwork Wed May 12 03:41:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zou Wei X-Patchwork-Id: 12252609 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 BACE5C433B4 for ; Wed, 12 May 2021 03:26:41 +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 6BD3D611AE for ; Wed, 12 May 2021 03:26:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6BD3D611AE 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=ArJ5OzBDNx4UgtF/xNraTy/5yfuxr60ER8x05Y0PIOE=; b=jMPJBR6N0o5K+KU1Q1of7Ot2nw sAEF+FOjGHTBSnTa3OsKvYGqpTf0W+2ZTJsJiWXHa2YaScB3L+42f7ZQxk+SE19nsaIg87JSX4ndr JUJZRdxrTxEycDTaMVPlVbhYjo10CsxGdRsz6mkCQRXedoegfp9SR9p3E1NLjvG12F3YfKI4kd2Gm 5CItJx68H2Xsfq5UfPTZ4jcyFJLoZZ55njh0ffzUk1UfJrMO0ONbsYWcbsRjtDinwlmArpjzRGi+G JocuQv08FstSyfWH0q/pG1RKDDLC1IzG7Qf/E2rOGrClH6KP5D5T4NGQ9FE+9aDDXbkVekHvtz37d +38eEj0g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgfUG-001sV7-9R; Wed, 12 May 2021 03:24:40 +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 1lgfUD-001sUx-QF for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 03:24:38 +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=tSygytvKOXbmp1nPNH1j59FtKEsiIvf8cC+TB24qc8Q=; b=usTJ00LZ/7f+SUatjUPNFI8iWY cRAoLPCkhCg6C7oP5CkqLNAenwccIsgb0GzL7dK3sfPlnwFBRc9FQ9u1h2wedly62d3trw2u1sSph ml0CGuAFHUIwF2dGdLGbVENaTVV/MyYk0dfKjQfb9ntOJDpcLlATXI+IqQ5TF1gJ9KkoQLN3qgZP+ 3A4fEvBRN6DChio7CttBIsW3RBLH90q6lMSuL6iwA/so5Q8Jt13EMzj6KSl9/MLw9nnBAqOcAT4Rm ybD6DwXPold4m6eIgE1vsPixBU4A/JYH0QRoRxZbLm9pjsLOoDjBUwU5eMmn7wN6nsknEb6LAXWwl m70/D04A==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgfUA-00A46Y-Vh for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 03:24:36 +0000 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fg0S640xQzmg36; Wed, 12 May 2021 11:21:10 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 11:24:23 +0800 From: Zou Wei To: , , , , , , , , CC: , , Zou Wei Subject: [PATCH -next] soc: imx8m: add missing MODULE_DEVICE_TABLE Date: Wed, 12 May 2021 11:41:25 +0800 Message-ID: <1620790885-15892-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-20210511_202435_204759_EF18AC21 X-CRM114-Status: UNSURE ( 8.70 ) 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: Alice Guo --- drivers/soc/imx/soc-imx8m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c index 071e144..8debf62 100644 --- a/drivers/soc/imx/soc-imx8m.c +++ b/drivers/soc/imx/soc-imx8m.c @@ -186,6 +186,7 @@ static __maybe_unused const struct of_device_id imx8_soc_match[] = { { .compatible = "fsl,imx8mp-soc", .data = &imx8mp_soc_data, }, { } }; +MODULE_DEVICE_TABLE(of, imx8_soc_match); #define imx8_revision(soc_rev) \ soc_rev ? \