Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2541331pxj; Mon, 14 Jun 2021 00:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygcmhoVcRpAvq0o89ItI9/sODlnEflNIU078qRD1iCrBXyUfj+rMxhDCa2ICfwKX2gLEbR X-Received: by 2002:a17:907:33d0:: with SMTP id zk16mr14066450ejb.144.1623657032211; Mon, 14 Jun 2021 00:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623657032; cv=none; d=google.com; s=arc-20160816; b=OXnw8H+FzY6SFMTKJ7guvdKqk3ARHvkT7XUrm43yq/uRN/CX1Y9jJAPueSuaXPq79P 7+DoZPh7O5I0gLr0qDdJmUnX2WuK5NLKowiNmMW2DYaIu2cr+TbDvdmBUYgRQ0/oO6CN mHOnR/uVaS9oa7bYm2J1vePRbeu4j6apqrZ9eSuUDli9s1o9CcLYSZnlSNnExG9uz/TE FMcCx7Oe7OB36xwB9ZIngNL1FIn4CQ2H8qqD+WEcLjXpwExbOmofJ4p7zKtAG+DhhAnV ido1C7gCmfmpoY0mlD1ev7lN3qq+ZMsyV0H2d/TRcFtonRkhJL9tlXN5P+ZAbAp5LkAF n8gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=AjfS5BPNTcfx3SieX7Cg+aEAiB67XB6Kg+RrOMCwNVs=; b=B0woLWzsBxMhuJd7IqOYJzJOEM+fBfiKjwU2SE68Np2NNCvjEDOYBK68aY8GH+cziZ PHLsMVF4VaZ3pCI0fxdQhQ+yC4mj/V84ghhpf2n74t8CFm66o8nz6vo+79hXh+LYFFeV EIf9rlgIHYKXDDwigvC3wqgA3Aqe68gXCmriKpobqWxRNub41OXATYl8OCOeIzxylUFj 6yFVJ+l/A6K5H9xvlfaER5D4C/dVYC0iH+d/CYaJ4wkZDiwY5+ButQx0qqzIzjb8N46B u4dQtGxyirAsYaQrDT3W23bHTT/Hu2h0gxTC7dz7t86E8igtbA7JnRil1lSGp/gBa1bB 6AWQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si6310385edb.254.2021.06.14.00.50.08; Mon, 14 Jun 2021 00:50:32 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232564AbhFNHuc (ORCPT + 99 others); Mon, 14 Jun 2021 03:50:32 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58119 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232520AbhFNHua (ORCPT ); Mon, 14 Jun 2021 03:50:30 -0400 Received: (Authenticated sender: jacopo@jmondi.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id D8D5724001A; Mon, 14 Jun 2021 07:48:25 +0000 (UTC) Date: Mon, 14 Jun 2021 09:49:15 +0200 From: Jacopo Mondi To: Zou Wei Cc: mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] media: mt9v111: Add missing MODULE_DEVICE_TABLE Message-ID: <20210614074915.y5w2umeh3j7s5s32@uno.localdomain> References: <1620704856-104451-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1620704856-104451-1-git-send-email-zou_wei@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Zou On Tue, May 11, 2021 at 11:47:36AM +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. > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei Sorry for getting late on this Acked-by: Jacopo Mondi Thanks j > --- > drivers/media/i2c/mt9v111.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/i2c/mt9v111.c b/drivers/media/i2c/mt9v111.c > index 97c7527..f16e632 100644 > --- a/drivers/media/i2c/mt9v111.c > +++ b/drivers/media/i2c/mt9v111.c > @@ -1260,6 +1260,7 @@ static const struct of_device_id mt9v111_of_match[] = { > { .compatible = "aptina,mt9v111", }, > { /* sentinel */ }, > }; > +MODULE_DEVICE_TABLE(of, mt9v111_of_match); > > static struct i2c_driver mt9v111_driver = { > .driver = { > -- > 2.6.2 >