Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3150772pxj; Mon, 10 May 2021 20:32:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5i/bN4ni13T9QFM7eXHUIRlwSqf+A6u7w2jMb4X9EoWRxzRBGQdT+xAm0Jo5NURHctP16 X-Received: by 2002:a05:6402:682:: with SMTP id f2mr33230905edy.297.1620703925313; Mon, 10 May 2021 20:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620703925; cv=none; d=google.com; s=arc-20160816; b=IrmywCu/nQ7hXWU1hDXN+Wv7DfQkW8ug21hZgVyA1omzMbk/ClfsMSQibIRCRccZjs dO8IRw8vtxMGkQyQG5uA+ouI+ZH0xRTk3RXAGekE/ETC0DN/HNj5j7f0E9bK2KoAI5LE BGs06sz761RrYLTx5JjswRPwMYNaRWbZpXnAn++LpVaRBTSqwwpghQZazkYYUVzpkbai tPxloJTyHdAvvJCe+zBHR9MM0Sb/w2o3LcqTbDkopi+lYmbKhINC5PE9krHhv+R6ZC1v LWdwfzprFTVy/Bdni6aqQPjtbXVdWSYbcIPmvOpL34M90N/AJHK0E1AoZ5TZTQxX2KMg pu9A== 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=zQpSuJ/7kktAK7YTWAIg6xeBZxs21BnJE+zrWRGxq6Y=; b=MePmtd/rlpV/GoPJeQrj0k/UnZNe6p3t91WATNOno/rnTt0FUb7CadZnlGAAKPj6Fn gQ5QDEY8VeaaZYN67X7PZMzy2SBCtBiYkQJ0g+Rg7MdFx9Jl6OulwlLiNBPdSRiXpR8R t5P20WttrkpTQ/TPqtQ8QlpdgeCWGuW5An3Mt7zFaljmDI9oLzTTMx7JHI61AztnUzMR 0OWRQpDlO+CdM38cToRuGcWe4da44sqPBvyUaXXcbb7Wj/JIyGEk3xFr3RZiJ8MJFXHV mTZTXpubX6mlydAAAR8R10gwcwu5AU6dBS9aFBaPMa92Yw9YMei4ALF8c8QLy10Tzu8q VUnw== 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 f3si14868418edx.524.2021.05.10.20.31.42; Mon, 10 May 2021 20:32: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; 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 S230154AbhEKDbv (ORCPT + 99 others); Mon, 10 May 2021 23:31:51 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2621 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbhEKDbu (ORCPT ); Mon, 10 May 2021 23:31:50 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FfNg36S6xzlcqt; Tue, 11 May 2021 11:28:31 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Tue, 11 May 2021 11:30:33 +0800 From: Zou Wei To: , CC: , , Zou Wei Subject: [PATCH -next] media: mt9v111: Add missing MODULE_DEVICE_TABLE Date: Tue, 11 May 2021 11:47:36 +0800 Message-ID: <1620704856-104451-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/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