drm/exynos: Add MODULE_DEVICE_TABLE entries for various components
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 18 Jul 2014 20:36:41 +0000 (22:36 +0200)
committerInki Dae <inki.dae@samsung.com>
Mon, 4 Aug 2014 04:39:27 +0000 (13:39 +0900)
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 <sjoerd.simons@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimc.c
drivers/gpu/drm/exynos/exynos_drm_rotator.c
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c

index 831dde9034c6270436946e59bb4a6a3b1adb3008..ec7cc9ea50df692db90293319a3f8fe2465d5107 100644 (file)
@@ -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,
index f01fbb6dc1f06249f7c3947f14a378a7a8651f95..55af6b41c1dfa3f0da4be362245212838371ff1a 100644 (file)
@@ -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)
 {
index fd8141f43b35554952ecca1589fc08ecbdf234bb..d08e00d1f4edeb334d0c91a67fd6c6fa67186213 100644 (file)
@@ -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)
 {
index 9d0c21a50a868e1f11062e89b1f3f1c5734e9604..6756d1ca49233bd17d4a063c9d191036b04f9838 100644 (file)
@@ -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)
 {