From patchwork Wed Jul 31 16:49:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13748968 X-Patchwork-Delegate: kieran@bingham.xyz Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52B4E1B29A9; Wed, 31 Jul 2024 16:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722444586; cv=none; b=oXZspyRmTorPsfl+fyCEzJdotKEidnTuPupRnZ2+9HkivyubAYojc/7nfQKut02IReXy1sQ8EUfKjDp3Hwb99qYk+18rgW6OVYaP9ToJcI29S1EXbamHc2C2KK5cWZPcIb4R4AQQ9DFBcvgiJGsJtPaATTtx5ih2OrLc+bYaCws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722444586; c=relaxed/simple; bh=GpMp6tg/YgVY/vTU7Drds7N/cSGXzNQUQkiNMM51k/o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sqVzWWOEMXOer9kiloMISbnl19kb7M1hZdCyzsfFeCuSAhcyrufU0zK2FujWFsqxG78+T6FYzLwc4etBCQLY++dT9GaXVD66c9Gt/sZ24iI18Y91XPD90QpLRhg/6asoGi4aju2udGq9R6nxCEXjMCg+ivjRyMnM1vPffKE5li4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.09,251,1716217200"; d="scan'208";a="214252124" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 01 Aug 2024 01:49:39 +0900 Received: from localhost.localdomain (unknown [10.226.93.39]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 1CCA64010088; Thu, 1 Aug 2024 01:49:36 +0900 (JST) From: Biju Das To: Mauro Carvalho Chehab Cc: Biju Das , Laurent Pinchart , Sakari Ailus , Hans Verkuil , Lad Prabhakar , linux-media@vger.kernel.org, Geert Uytterhoeven , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH] media: platform: rzg2l-cru: rzg2l-csi2: Add missing MODULE_DEVICE_TABLE Date: Wed, 31 Jul 2024 17:49:32 +0100 Message-ID: <20240731164935.308994-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The rzg2l-csi2 driver can be compiled as a module, but lacks MODULE_DEVICE_TABLE() and will therefore not be loaded automatically. Fix this. Fixes: 51e8415e39a9 ("media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver") Signed-off-by: Biju Das Reviewed-by: Laurent Pinchart --- drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c index e68fcdaea207..c7fdee347ac8 100644 --- a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c +++ b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c @@ -865,6 +865,7 @@ static const struct of_device_id rzg2l_csi2_of_table[] = { { .compatible = "renesas,rzg2l-csi2", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, rzg2l_csi2_of_table); static struct platform_driver rzg2l_csi2_pdrv = { .remove_new = rzg2l_csi2_remove,