Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4767856pxj; Wed, 12 May 2021 12:49:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFSbz4y7A+61b/JCvTdbC3a/xSUrLBhMfe7D00QdY3F+OfrE3ri8G0btCDxE6o0FBpwH5/ X-Received: by 2002:a54:4e10:: with SMTP id a16mr139629oiy.48.1620848978716; Wed, 12 May 2021 12:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620848978; cv=none; d=google.com; s=arc-20160816; b=jcIb57NvdRTVOO9i2WgWuHiQS9HS6Rc0NpuPfOzsDkFBpXivlp14zy6GTZGic6B5te 3IN6j+UKkobkAOlYQbZtWk9stMNYq1if12ufTe+5VzMcY+OBYWuKvzDRfndCZZ6OzROj om5xniv1Nmtz3y9AtW8r4+9HM0E0PY1uZhsVueb9nwA3aTTb+6m0OqztbbpQzPVFgOB9 c6X8ejFFP4VdCZs6uDLFd0tYsX/VEa04J3ETQAceiBHX4rrHO2otyYEeH8sMjw0FVn0g K4tRga7d3zTcpba5Q3CLO7N9f9bXsPkX1HFqOqMuvL69r6K5rigxTQpnn3TGQ/i37YFp YHjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=5hXKeS5OhmnmZTHSHZROuYQB/mQTrakWYc6A59BUOp8=; b=zuhCL+L6tO/baDUnU2Joyvm5UULsYv6DmeT1TjYWDFrtxW5VUtjYJjFUHtyeASEqvG 43wEpZYPyeUJ157ik4HYvofffgd3MuQDQdHlSGwY5SCe2NtSU91QoxvHGLAHGaTnzEm2 5Ok6pSQzvSevfQdnJ915hmp0ISKV3vQJAea5tigP81zBN+Xv236xRKMve+230ucKnSfq +CYERj8nu7iuboIA1rdY5G93TJ7GhOZgssELT+FbAZqxPQ8qfOlarBH1XkKaHLWgMN/I ALex0aHdfE0NfEOy3ZXb0v4hfOJmJWXq0JfL4SVpKsnxESgrpeOD/+f9IUFdmEQeIIiu c55w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YX5csET7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r5si514034ota.215.2021.05.12.12.48.59; Wed, 12 May 2021 12:49:38 -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=@gmail.com header.s=20161025 header.b=YX5csET7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379297AbhELT35 (ORCPT + 99 others); Wed, 12 May 2021 15:29:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245244AbhELQwR (ORCPT ); Wed, 12 May 2021 12:52:17 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA55CC08C5E7 for ; Wed, 12 May 2021 09:30:23 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id t18so24275616wry.1 for ; Wed, 12 May 2021 09:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5hXKeS5OhmnmZTHSHZROuYQB/mQTrakWYc6A59BUOp8=; b=YX5csET7uK4OTwfsn9+uWVUPv7uQ3h1aN1mAwR6RqT7OaEeAj0LQdHsXsAHWF+DxGG 0XzKRxKUrkdZcFdqKeyc99RijzscjefdsusUSinzkelNNfq7Js6xP5L/qYMCn2YWqTVR 2rmjgRkKjLSwYdbuQv5iBx3RHV/LtNTi6yZZyDcBAyF+3OwlNQtejmLbkeGYaC11435n sphYKaycHj/cLlMm1A2nwFpZ5RK2DllEMJC9yWADQBoSJs6icvfVHuUchJ/SADT3IAdq jpcWCcEF6E4DgU5/RQAx5ztkxUkgZoxs7udoRAfWU2+8tvYutv1ahpnkKGs657+7Dn/Q ZxUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5hXKeS5OhmnmZTHSHZROuYQB/mQTrakWYc6A59BUOp8=; b=gTgLZta2TGXFDgkP/jMafdYSw6sxhmwHku9e75Aw6hd2+DZIOdchaw6bErTqxXbuoR OtG83LfVMuPMFFMLmsQsziq0JP7rhxBxYziQeIrFHVTRvp9oyyAIwWgGwzQpx3ew/kZk 9Bq/Ufe6h7DMLP1HauNjmugKiiZlYWbB2Cm4trIOuyE00/Db/gumG3EVnuenq/hN38xz wvYGq2jpY4bWlxtFqNRBCfiPSfQ6rCEBpES5iTJIcCsSW5Y3rca3sa8e3NL+cV7ggNVY jUUCpP7vz105rXNjEbXBF3fAf9fzW+QaRhw0YWeYmLs3rwMaFIbgTRMqcq04TsvfX0rm 3k3Q== X-Gm-Message-State: AOAM531brEGuyG3zcdFTdirV5NqR7d1iUKIKNi02zvNcsaC/+cUIa5OF bggyLGyiQx/z745fxop4ZlZuVwcAl1ghZA== X-Received: by 2002:a05:6000:2ae:: with SMTP id l14mr45833334wry.155.1620837022555; Wed, 12 May 2021 09:30:22 -0700 (PDT) Received: from ziggy.stardust ([37.223.140.37]) by smtp.gmail.com with ESMTPSA id n22sm6257999wmo.12.2021.05.12.09.30.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 May 2021 09:30:22 -0700 (PDT) Subject: Re: [PATCH -next] soc: mediatek: add missing MODULE_DEVICE_TABLE To: Zou Wei Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <1620705350-104687-1-git-send-email-zou_wei@huawei.com> From: Matthias Brugger Message-ID: <88837f36-e285-a8b4-4e03-ea8c9c1adbf8@gmail.com> Date: Wed, 12 May 2021 18:30:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <1620705350-104687-1-git-send-email-zou_wei@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/05/2021 05:55, 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. > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei Applied to v5.13-next/soc Thanks > --- > drivers/soc/mediatek/mtk-devapc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/soc/mediatek/mtk-devapc.c b/drivers/soc/mediatek/mtk-devapc.c > index f1cea04..7c65ad3 100644 > --- a/drivers/soc/mediatek/mtk-devapc.c > +++ b/drivers/soc/mediatek/mtk-devapc.c > @@ -234,6 +234,7 @@ static const struct of_device_id mtk_devapc_dt_match[] = { > }, { > }, > }; > +MODULE_DEVICE_TABLE(of, mtk_devapc_dt_match); > > static int mtk_devapc_probe(struct platform_device *pdev) > { >