Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sjoerd Simons and committed by
Inki Dae
39b58a39 bd024b86

+4
+1
drivers/gpu/drm/exynos/exynos_drm_fimc.c
··· 1887 1887 { .compatible = "samsung,exynos4212-fimc" }, 1888 1888 { }, 1889 1889 }; 1890 + MODULE_DEVICE_TABLE(of, fimc_of_match); 1890 1891 1891 1892 struct platform_driver fimc_driver = { 1892 1893 .probe = fimc_probe,
+1
drivers/gpu/drm/exynos/exynos_drm_rotator.c
··· 691 691 }, 692 692 {}, 693 693 }; 694 + MODULE_DEVICE_TABLE(of, exynos_rotator_match); 694 695 695 696 static int rotator_probe(struct platform_device *pdev) 696 697 {
+1
drivers/gpu/drm/exynos/exynos_hdmi.c
··· 2295 2295 /* end node */ 2296 2296 } 2297 2297 }; 2298 + MODULE_DEVICE_TABLE (of, hdmi_match_types); 2298 2299 2299 2300 static int hdmi_bind(struct device *dev, struct device *master, void *data) 2300 2301 {
+1
drivers/gpu/drm/exynos/exynos_mixer.c
··· 1240 1240 /* end node */ 1241 1241 } 1242 1242 }; 1243 + MODULE_DEVICE_TABLE(of, mixer_match_types); 1243 1244 1244 1245 static int mixer_bind(struct device *dev, struct device *manager, void *data) 1245 1246 {