From patchwork Fri Jul 18 20:36:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 4588851 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 654279F26C for ; Sat, 19 Jul 2014 09:21:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 674A72015A for ; Sat, 19 Jul 2014 09:21:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E5EBA201C8 for ; Sat, 19 Jul 2014 09:21:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C5DB86E342; Sat, 19 Jul 2014 02:21:28 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from cube.luon.net (cube.luon.net [37.72.100.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 637DB6E81C for ; Fri, 18 Jul 2014 13:42:50 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cube.luon.net (Postfix) with ESMTP id 7CFADE2C2F; Fri, 18 Jul 2014 22:37:24 +0200 (CEST) Received: from cube.luon.net ([127.0.0.1]) by localhost (cube.luon.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0cQYdxhvyzRp; Fri, 18 Jul 2014 22:37:24 +0200 (CEST) Received: from dusk.luon.net (unknown [IPv6:2001:1af8:fe00:8421:a11:96ff:fe52:2bc]) by cube.luon.net (Postfix) with ESMTPSA id 4A765E2BCF; Fri, 18 Jul 2014 22:37:24 +0200 (CEST) Received: by dusk.luon.net (Postfix, from userid 1000) id D9AE8227BB; Fri, 18 Jul 2014 22:37:23 +0200 (CEST) From: Sjoerd Simons To: Inki Dae Subject: [PATCH 3/3] drm/exynos: Add MODULE_DEVICE_TABLE entries for various components Date: Fri, 18 Jul 2014 22:36:41 +0200 Message-Id: <1405715801-5325-4-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1405715801-5325-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1405715801-5325-1-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailman-Approved-At: Sat, 19 Jul 2014 02:21:28 -0700 Cc: linux-samsung-soc@vger.kernel.org, Seung-Woo Kim , Sjoerd Simons , dri-devel@lists.freedesktop.org, Kyungmin Park , Kukjin Kim X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add MODULE_DEVICE_TABLE calls for the various OF match tables that currently don't have one. This allows the module to be autoloaded based on devicetree information. Signed-off-by: Sjoerd Simons --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 1 + drivers/gpu/drm/exynos/exynos_drm_rotator.c | 1 + drivers/gpu/drm/exynos/exynos_hdmi.c | 1 + drivers/gpu/drm/exynos/exynos_mixer.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 831dde9..ec7cc9e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimc.c @@ -1887,6 +1887,7 @@ static const struct of_device_id fimc_of_match[] = { { .compatible = "samsung,exynos4212-fimc" }, { }, }; +MODULE_DEVICE_TABLE(of, fimc_of_match); struct platform_driver fimc_driver = { .probe = fimc_probe, diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index f01fbb6..55af6b4 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -691,6 +691,7 @@ static const struct of_device_id exynos_rotator_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, exynos_rotator_match); static int rotator_probe(struct platform_device *pdev) { diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index fd8141f..d08e00d 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -2295,6 +2295,7 @@ static struct of_device_id hdmi_match_types[] = { /* end node */ } }; +MODULE_DEVICE_TABLE (of, hdmi_match_types); static int hdmi_bind(struct device *dev, struct device *master, void *data) { diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 9d0c21a..6756d1c 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1240,6 +1240,7 @@ static struct of_device_id mixer_match_types[] = { /* end node */ } }; +MODULE_DEVICE_TABLE(of, mixer_match_types); static int mixer_bind(struct device *dev, struct device *manager, void *data) {