Subject: Revert "drm/exynos: remove MODULE_DEVICE_TABLE definitions"
This reverts commitd089621896
was original to prevent multiple MODULE_DEVICE_TABLE in one module. Which, as a side-effect broke autoloading of the module. Since21bdd17b21
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>
This commit is contained in:
parent
0262ceeb57
commit
bd024b86f1
|
@ -1376,6 +1376,7 @@ static const struct of_device_id exynos_dp_match[] = {
|
|||
{ .compatible = "samsung,exynos5-dp" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, exynos_dp_match);
|
||||
|
||||
struct platform_driver dp_driver = {
|
||||
.probe = exynos_dp_probe,
|
||||
|
|
|
@ -1496,6 +1496,7 @@ static struct exynos_drm_display exynos_dsi_display = {
|
|||
.type = EXYNOS_DISPLAY_TYPE_LCD,
|
||||
.ops = &exynos_dsi_display_ops,
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, exynos_dsi_of_match);
|
||||
|
||||
/* of_* functions will be removed after merge of of_graph patches */
|
||||
static struct device_node *
|
||||
|
|
Loading…
Reference in New Issue