diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2014-07-18 16:36:41 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-08-04 00:39:27 -0400 |
commit | 39b58a396d36500b79da7d07037566761ad7f2ad (patch) | |
tree | 3db2ce71034fd2f1a316b1ab407794c2d9e1fb32 | |
parent | bd024b86f1f3fd1114366a0385abb1f7b6794d3f (diff) |
drm/exynos: Add MODULE_DEVICE_TABLE entries for various components
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>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fimc.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_rotator.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 831dde9034c6..ec7cc9ea50df 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[] = { | |||
1887 | { .compatible = "samsung,exynos4212-fimc" }, | 1887 | { .compatible = "samsung,exynos4212-fimc" }, |
1888 | { }, | 1888 | { }, |
1889 | }; | 1889 | }; |
1890 | MODULE_DEVICE_TABLE(of, fimc_of_match); | ||
1890 | 1891 | ||
1891 | struct platform_driver fimc_driver = { | 1892 | struct platform_driver fimc_driver = { |
1892 | .probe = fimc_probe, | 1893 | .probe = fimc_probe, |
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index f01fbb6dc1f0..55af6b41c1df 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[] = { | |||
691 | }, | 691 | }, |
692 | {}, | 692 | {}, |
693 | }; | 693 | }; |
694 | MODULE_DEVICE_TABLE(of, exynos_rotator_match); | ||
694 | 695 | ||
695 | static int rotator_probe(struct platform_device *pdev) | 696 | static int rotator_probe(struct platform_device *pdev) |
696 | { | 697 | { |
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index fd8141f43b35..d08e00d1f4ed 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[] = { | |||
2295 | /* end node */ | 2295 | /* end node */ |
2296 | } | 2296 | } |
2297 | }; | 2297 | }; |
2298 | MODULE_DEVICE_TABLE (of, hdmi_match_types); | ||
2298 | 2299 | ||
2299 | static int hdmi_bind(struct device *dev, struct device *master, void *data) | 2300 | static int hdmi_bind(struct device *dev, struct device *master, void *data) |
2300 | { | 2301 | { |
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 9d0c21a50a86..6756d1ca4923 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[] = { | |||
1240 | /* end node */ | 1240 | /* end node */ |
1241 | } | 1241 | } |
1242 | }; | 1242 | }; |
1243 | MODULE_DEVICE_TABLE(of, mixer_match_types); | ||
1243 | 1244 | ||
1244 | static int mixer_bind(struct device *dev, struct device *manager, void *data) | 1245 | static int mixer_bind(struct device *dev, struct device *manager, void *data) |
1245 | { | 1246 | { |