Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4099313pxj; Tue, 11 May 2021 20:26:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoGjCD3RIG4PJqH7OnZkyjH3Wsc2rDCVGCPf68Kn3Rf0CcPGLswUYsKQANBv4UZcXM5VzS X-Received: by 2002:a92:c7a1:: with SMTP id f1mr28775824ilk.33.1620789989336; Tue, 11 May 2021 20:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620789989; cv=none; d=google.com; s=arc-20160816; b=T9RldLEXx61XzKa7VSGZdBPHxND5FlvV3kwARr1YnySoSf2HhINUvOxVQ/i3ITyHtj Dnu5PSf20ztzwhEgKIbp24HSKxoeKLXj451IGbI28KZvneI58n+F0NVEguOWRkfj2U4f r6h6LOvOXZg2eD57DEu9m2OPusvLqePgQVdUvTszXr40tdV9LvVMhWn0HzDStJ/+0s13 qyAnPeLUzin3I/SNK9KlcNl6NligSXPVJzVilnzDxLjQ3g7goF/ulzfUhvLctpdx4DiJ +bZJP3NGj6FebxugBfdyLNaNPpgTkmxrAb3n+0RUZHzGLJLo+gXax8xhpopYuWqqLAsd wZBA== 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=tSygytvKOXbmp1nPNH1j59FtKEsiIvf8cC+TB24qc8Q=; b=oQQl0NPgCufVkaAG6yrDH7k78MRKWXbCtS33Two9JVz+RSI9GKgXGP6Hm++zvCv6/4 wmMdxMZ+XG9uFOYYR5UnV8tcccNeAGjsotb8nwSDHVtbXUhiRzR1LLbCpEp/n4Sy4ryH iaRgLm3IaRJWXKrn4vs7scnEzxyqb/1NqqWj9+/97SNcNZNP7I+wtMLNoQ6g5iS/rGQC 1Up5DUXXndgknQq7URT7aQJJ/t74wvsZunGORx5Ymfmw3DyMbJtV3mJ7vmuywu5QXQjD VDsRJ1oVUEn8rk/Lq52tKpMojNbSd5wb5VIMvAVYcvAqE4PDO2rUjEzuoyrRE9j1Yf6y 2YTw== 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 k22si20024537ios.49.2021.05.11.20.26.17; Tue, 11 May 2021 20:26:29 -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 S230095AbhELDZl (ORCPT + 99 others); Tue, 11 May 2021 23:25:41 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2783 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230012AbhELDZl (ORCPT ); Tue, 11 May 2021 23:25:41 -0400 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 Content-Type: text/plain X-Originating-IP: [10.175.103.112] 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/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 ? \ -- 2.6.2