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

Subject: Revert "drm/exynos: remove MODULE_DEVICE_TABLE definitions"

This reverts commit d089621896c3530a9bd309f96e9c9124d07f6c3f was
original to prevent multiple MODULE_DEVICE_TABLE in one module.
Which, as a side-effect broke autoloading of the module.

Since 21bdd17b21b45ea48e06e23918d681afbe0622e9 it is possible to have
multiple calls to MODULE_DEVICE_TABLE, so the patch can be
reverted to restore support for autoloading

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
bd024b86 0262ceeb

+2
+1
drivers/gpu/drm/exynos/exynos_dp_core.c
··· 1376 1376 { .compatible = "samsung,exynos5-dp" }, 1377 1377 {}, 1378 1378 }; 1379 + MODULE_DEVICE_TABLE(of, exynos_dp_match); 1379 1380 1380 1381 struct platform_driver dp_driver = { 1381 1382 .probe = exynos_dp_probe,
+1
drivers/gpu/drm/exynos/exynos_drm_dsi.c
··· 1496 1496 .type = EXYNOS_DISPLAY_TYPE_LCD, 1497 1497 .ops = &exynos_dsi_display_ops, 1498 1498 }; 1499 + MODULE_DEVICE_TABLE(of, exynos_dsi_of_match); 1499 1500 1500 1501 /* of_* functions will be removed after merge of of_graph patches */ 1501 1502 static struct device_node *