mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-24 05:41:27 +07:00
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>
This commit is contained in:
parent
bd024b86f1
commit
39b58a396d
@ -1887,6 +1887,7 @@ static const struct of_device_id fimc_of_match[] = {
|
|||||||
{ .compatible = "samsung,exynos4212-fimc" },
|
{ .compatible = "samsung,exynos4212-fimc" },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, fimc_of_match);
|
||||||
|
|
||||||
struct platform_driver fimc_driver = {
|
struct platform_driver fimc_driver = {
|
||||||
.probe = fimc_probe,
|
.probe = fimc_probe,
|
||||||
|
@ -691,6 +691,7 @@ static const struct of_device_id exynos_rotator_match[] = {
|
|||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, exynos_rotator_match);
|
||||||
|
|
||||||
static int rotator_probe(struct platform_device *pdev)
|
static int rotator_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
@ -2295,6 +2295,7 @@ static struct of_device_id hdmi_match_types[] = {
|
|||||||
/* end node */
|
/* end node */
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE (of, hdmi_match_types);
|
||||||
|
|
||||||
static int hdmi_bind(struct device *dev, struct device *master, void *data)
|
static int hdmi_bind(struct device *dev, struct device *master, void *data)
|
||||||
{
|
{
|
||||||
|
@ -1240,6 +1240,7 @@ static struct of_device_id mixer_match_types[] = {
|
|||||||
/* end node */
|
/* end node */
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, mixer_match_types);
|
||||||
|
|
||||||
static int mixer_bind(struct device *dev, struct device *manager, void *data)
|
static int mixer_bind(struct device *dev, struct device *manager, void *data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user