Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9090782pxu; Mon, 28 Dec 2020 06:24:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhQleyQ40R6sbUADN5id1Zz8XFBoMMdjymrattxORV+wir6iaCO10AdTAeKC46cRF7Kl5Z X-Received: by 2002:a50:9e8b:: with SMTP id a11mr41917060edf.276.1609165485037; Mon, 28 Dec 2020 06:24:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165485; cv=none; d=google.com; s=arc-20160816; b=MlqnPEBysmpUivDfFfQHdDfxYD3vw1c8FW99vF3FrfkM7aqBqjQstmc73G03XOwgDE 8D4skRsM4Gb8yw6j363XkCmWDztdDHXM5s1l67Cr6Lvo7Ip/Z/ezMZ47lQFAbu8CGoOA 2HxZ2kbFYz0NCxzq9q7L9MSSVCC8G8zntxa4nCJ52O2XiEWRKA3k281OS1i3mmNCRv1u 0dB0Dpp4s+GH8bO9XWn0SLgNMxqoS05MIeNoXTGPrdtHogBlhRu/ghaiT///OeUQLE4X 9xGtYk/JeTCdYbTYt0pEmL0MPnvLXA1tZrI9p1RyMqABakPwshkHi2aeb+NgJgouZjaz JNxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8aXMIH62FGnJ9EksrHT1T8omQuqw7G+WJA5WVorTCsU=; b=0UoW0lp0iZSmD0AEScwcqj4zXUCPO2Ebmjm5VRmU4oFaRNRLeUEjAgzQrc2rmi2fKX iBhXtrWUu5iCqloGrf21xdG2F+0NLhdxQsArmp1v/noZZt759niKzfIiGGvVJSefG8Ni LFbl1it0Eq0jYY4fhWY+nWJxCZft695ZCcEMP/J9+nxA9S9FuGkQ576o4t07Wl1KCon7 /XYBYaMYOyyYW3sjm3aw9MmDaHdCDY+r3/z2LLBiWplP6Jw+Glzz8GL2bz2J2/Ze2o7s PFh3Ud5ZX6ABw7jXwGcvOSyhywNpNDcCdQVZk7IDEEkkIeRg7xoriSJH4YuEqQBG+sT9 oAcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="k/SaoEcn"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t21si18417038ejf.648.2020.12.28.06.24.22; Mon, 28 Dec 2020 06:24:45 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b="k/SaoEcn"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733236AbgL1OWd (ORCPT + 99 others); Mon, 28 Dec 2020 09:22:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:56246 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502667AbgL1OWb (ORCPT ); Mon, 28 Dec 2020 09:22:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51AD320731; Mon, 28 Dec 2020 14:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165335; bh=Al+ew9otR+njL6C8r5gDrw2MpAKsbWvr1VcofJGPCAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k/SaoEcn0hJfJfEhZD6RuD+HHl94wQqc5JGi+zUGhP5hUHXZ3I+f70toZ1FPDzFBE /aZhmu9zaHeTTf97i0EAo3wUMJD2aFfX3lj2nL41weNHbZhwnJOfJtRYLAumZb8Ir+ sP7oLxUkPwd9aCqGOpYYNC91vXv0QHitJJtNalnk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicolas Saenz Julienne , Maxime Ripard , Stephen Boyd , Sasha Levin Subject: [PATCH 5.10 494/717] clk: bcm: dvp: Add MODULE_DEVICE_TABLE() Date: Mon, 28 Dec 2020 13:48:12 +0100 Message-Id: <20201228125044.632201023@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicolas Saenz Julienne [ Upstream commit be439cc4c404f646a8ba090fa786d53c10926b12 ] Add MODULE_DEVICE_TABLE() so as to be able to use the driver as a module. More precisely, for the driver to be loaded automatically at boot. Fixes: 1bc95972715a ("clk: bcm: Add BCM2711 DVP driver") Signed-off-by: Nicolas Saenz Julienne Link: https://lore.kernel.org/r/20201202103518.21889-1-nsaenzjulienne@suse.de Reviewed-by: Maxime Ripard Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/bcm/clk-bcm2711-dvp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/bcm/clk-bcm2711-dvp.c b/drivers/clk/bcm/clk-bcm2711-dvp.c index 8333e20dc9d22..69e2f85f7029d 100644 --- a/drivers/clk/bcm/clk-bcm2711-dvp.c +++ b/drivers/clk/bcm/clk-bcm2711-dvp.c @@ -108,6 +108,7 @@ static const struct of_device_id clk_dvp_dt_ids[] = { { .compatible = "brcm,brcm2711-dvp", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, clk_dvp_dt_ids); static struct platform_driver clk_dvp_driver = { .probe = clk_dvp_probe, -- 2.27.0