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

Commit 4bc21d41 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by David S. Miller
Browse files

net/ti: add MODULE_DEVICE_TABLE + MODULE_LICENSE



If compiled as modules each one of these modules is missing something.
With this patch the modules are loaded on demand and don't taint the
kernel due to license issues.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4727e69
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1970,6 +1970,7 @@ static const struct of_device_id cpsw_of_mtable[] = {
	{ .compatible = "ti,cpsw", },
	{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, cpsw_of_mtable);

static struct platform_driver cpsw_driver = {
	.driver = {
+2 −0
Original line number Diff line number Diff line
@@ -1040,3 +1040,5 @@ unlock_ret:
	return ret;
}
EXPORT_SYMBOL_GPL(cpdma_control_set);

MODULE_LICENSE("GPL");
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ static const struct of_device_id davinci_mdio_of_mtable[] = {
	{ .compatible = "ti,davinci_mdio", },
	{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, davinci_mdio_of_mtable);

static struct platform_driver davinci_mdio_driver = {
	.driver = {