Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2354585pxj; Sat, 22 May 2021 20:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykap4Y+1r03HRkKuLYcoOPLn18p4Fu9WIWQjtyGhag9/wcNSts2qw4f4wb+raz3aO4+Vq8 X-Received: by 2002:a05:6602:2f0f:: with SMTP id q15mr8301626iow.75.1621741145167; Sat, 22 May 2021 20:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621741145; cv=none; d=google.com; s=arc-20160816; b=rsqbKon8kMwnfwCoYpzqqSaQst/aLxnHXAGkbxTPn2wNkp+xymI75d2qbrUkgUgTmm N0KtFm/ywHYlT8ueovGhqM+02ved+YDTr8ai5d0DEnvlJ2+DgHEZdPe24islchpr0kmk 3T0SJk0NLcpyZ21BdIybRUUFaeUq2770eR/hm1MXKX7eMQ/s3yqYRBjAOSLvDrdu6lJ7 XMt1g/tSJjwtrMd4Gh+6y1xhjHh9D1wl7HvP9mbmeAwJld1Bx7A7i+2iEShQRPEb+WJv QzUJcEXUfPLvKWDlgddnOBGlYGhWVrE1HxrKqE9/hrf3gbbjFbxLoT9GjIOht2KHwtfw 0OXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RUmMKV1KTZK8t93qLkpD1NKFmdMnp9LxGwf31LASZCk=; b=t22hVQyb0SJ4fyOmCES+VyBRq8WZfvFZ6nirNHjm3/YRz+JFFLw/fdmoU8zMr9xPbU kBLuuaxX24BjHbwXYB9shJZDc0m6Gn8z4d88ri7HO6byU3f7Eh6sAwHRp/sgZQOOf9Eq 5rVWXtjg/1onqTPE5ud9X1gLHYmr17GsUV7i2yD8T+Mym0vjfvGTs6KoKfK1igx+N5M9 pabcTWmwnLwGIPlG+wc724ATsV512Et4JfpXCHDmcqkxKlnJHy8axlRXCGHRF3j0G+s3 ahnmotaIp0EPL/CUknZ6ZmNhRZh+dgNqvwotjnFjehTTDGtrChytORIOopPtgXPb1I1X Heew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tJmo/mnZ"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si10416641ils.148.2021.05.22.20.38.52; Sat, 22 May 2021 20:39: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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tJmo/mnZ"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231550AbhEWDju (ORCPT + 99 others); Sat, 22 May 2021 23:39:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:45166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231528AbhEWDjt (ORCPT ); Sat, 22 May 2021 23:39:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 356C16115C; Sun, 23 May 2021 03:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621741104; bh=b6jp1x2ZGWuy2CC16vguZJqSjntrUqQvRjIQyUE4VKQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tJmo/mnZVvALMDSi6xGXjKTggphRJK+lxaWvwtC7hi4g9pVfGXoeLVPcJTuSWr40G fWjnKJOVypkmcB3DVddORIl5y/MtqgUO7iBgq1/U/bnMi+mjkL2uhWot097FPBbWDS AoNw3mVSOXDGnScpDUINhYQLXb/VZygvkwd5doyEOiNLLQBTTmd7sO/wvNMEMJUenV ZRLSl70mXtxckBZ2SWxiDBq7ynDQ/eWNe2P9JB7KmyLvL39LZ7hFooqLJOoAxEMQ52 VAMdaLui76JawpXTdCsg7xDm+jI6rqjWfreTdiRMkwQc2pl8Nf9Wb5k8C3//b/IZ2L jUUwIGuLICrgQ== Date: Sun, 23 May 2021 11:38:18 +0800 From: Shawn Guo To: Zou Wei Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, iuliana.prodan@nxp.com, Anson.Huang@nxp.com, peng.fan@nxp.com, alice.guo@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] soc: imx8m: add missing MODULE_DEVICE_TABLE Message-ID: <20210523033818.GT8194@dragon> References: <1620790885-15892-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1620790885-15892-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 12, 2021 at 11:41:25AM +0800, Zou Wei wrote: > 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. I do not see it supports module build right now. Shawn > > 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 >