Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd024b86 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Inki Dae
Browse files

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



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

Since 21bdd17b 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: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 0262ceeb
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1376,6 +1376,7 @@ static const struct of_device_id exynos_dp_match[] = {
	{ .compatible = "samsung,exynos5-dp" },
	{ .compatible = "samsung,exynos5-dp" },
	{},
	{},
};
};
MODULE_DEVICE_TABLE(of, exynos_dp_match);


struct platform_driver dp_driver = {
struct platform_driver dp_driver = {
	.probe		= exynos_dp_probe,
	.probe		= exynos_dp_probe,
+1 −0
Original line number Original line Diff line number Diff line
@@ -1496,6 +1496,7 @@ static struct exynos_drm_display exynos_dsi_display = {
	.type = EXYNOS_DISPLAY_TYPE_LCD,
	.type = EXYNOS_DISPLAY_TYPE_LCD,
	.ops = &exynos_dsi_display_ops,
	.ops = &exynos_dsi_display_ops,
};
};
MODULE_DEVICE_TABLE(of, exynos_dsi_of_match);


/* of_* functions will be removed after merge of of_graph patches */
/* of_* functions will be removed after merge of of_graph patches */
static struct device_node *
static struct device_node *