Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp759018pxu; Wed, 2 Dec 2020 02:38:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxW+ifqSbBDS8VV7jRUmDSyM7I/1B8eGjZJRta3FvX1GEITvPD2W+rZK3W4nMBZs21mF2YI X-Received: by 2002:a17:906:56ca:: with SMTP id an10mr1670541ejc.498.1606905489003; Wed, 02 Dec 2020 02:38:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606905488; cv=none; d=google.com; s=arc-20160816; b=T1wDkNDh2J6wrsTd0qfDTDMzd+MjHpj5cRvnx+9R/YYv2CtO02vMKAgx61Sr4Wp9ul eznpLU/jrTHhPejP7BLiG6ufLyjhNANrv0MFn1Vjmu0sRDfF9Yxb+k/ybrP7S3UqHkel KlxEQ7oqwLiDKp7vY++ItdfHzUKAhBUFVbLTh7Uy1Hl5o8Ejc3LzBpUOteSourDh+iny N/1UO8n2dqW4J8hsBHk6Ece1D2AYJscIl5XPaP309KH09yaleMCO0qdwgHuXQ4a39Je3 J6SVMffqgy0LE94wc0LslKe1jiRi/5awSnpJ2jn97O2R632Ps9IlawqhnS6o9yp7Yymz K1wQ== 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 :message-id:date:subject:cc:to:from; bh=kDLqyltAhUb1W+4wnL79BtWCwRFjBYMZ7zHBp0YHRIU=; b=PkijTjQLl/huA8YQPK27F1H2sWNzXlPg1o82dh4IIZ+/oo5DD5L0FmQF02e6GYBKkn TcESvCsCs+967Vepr8lDtcVSxWVX6zVF4aOq1qAWjHQyyqlLmbfHlh8unwKbCXF28EBb 366ERXe4iKI9iiLfGYKRju7HCJLDDHtUdurD8miPAMnGIySAnbUtMC7pOCGz+4YNcQVp VWXv2ZJ52Vor2tnCJUWq+o3kVzBiqAbouxL1ZBqGl2Va3RC0EkIHnrT+hJbS+WBTexb0 fjjpQtdF3H3xunBdvabXhKzgad7lk0yNGenoa9DU5AaRcZrEkaDuscNAaOPSzx/2HiEr /JGw== 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 us11si568763ejb.665.2020.12.02.02.37.44; Wed, 02 Dec 2020 02:38:08 -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; 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 S1729502AbgLBKgF (ORCPT + 99 others); Wed, 2 Dec 2020 05:36:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:39792 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728664AbgLBKgF (ORCPT ); Wed, 2 Dec 2020 05:36:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3FFA0AB7F; Wed, 2 Dec 2020 10:35:23 +0000 (UTC) From: Nicolas Saenz Julienne To: Nicolas Saenz Julienne , Stephen Boyd , Maxime Ripard , Stefan Wahren Cc: Michael Turquette , linux-clk@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: bcm: dvp: Add MODULE_DEVICE_TABLE() Date: Wed, 2 Dec 2020 11:35:18 +0100 Message-Id: <20201202103518.21889-1-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 8333e20dc9d2..69e2f85f7029 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.29.2