ARM: tegra: Add missing MODULE_DEVICE_TABLE
Subsystems (2)
PATCH 1/1 ARM: tegra: Add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.
Reported-by Hulk Robot <[email protected]>
Signed-off-by Zou Wei <[email protected]>
--- drivers/amba/tegra-ahb.c | 1 + 1 file changed, 1 insertion(+)
drivers/amba/tegra-ahb.c +1 -0
@@ -272,6 +272,7 @@ static const struct of_device_id tegra_ahb_of_match[] = { { .compatible = "nvidia,tegra20-ahb", }, {}, }; +MODULE_DEVICE_TABLE (of, tegra_ahb_of_match);static struct platform_driver tegra_ahb_driver = { .probe = tegra_ahb_probe,
Signature · 1 line
2.6.2
Quoted 9 lines · Zou Wei
This patch adds missing
MODULE_DEVICE_TABLEdefinition which generates correct modalias for automatic loading of this driver when it is built as an external module.Reported-by Hulk Robot <[email protected]>Signed-off-by Zou Wei <[email protected]>--- drivers/amba/tegra-ahb.c | 1 + 1 file changed, 1 insertion(+)
This driver cannot be built as an external module, so the device table doesn't make sense.
Thierry