diff options
author | Sebastian Siewior <bigeasy@linutronix.de> | 2013-04-24 08:48:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-25 04:12:29 -0400 |
commit | 4bc21d4162366bb892dc1a4a92110c656e2622ca (patch) | |
tree | 2217432c21cac79d3683ed6ffa5cd1f9ee886901 /drivers/net/ethernet/ti/cpsw.c | |
parent | b4727e69b81b71c6e9696185091e8256d863f9be (diff) | |
download | linux-4bc21d4162366bb892dc1a4a92110c656e2622ca.tar.gz linux-4bc21d4162366bb892dc1a4a92110c656e2622ca.tar.bz2 linux-4bc21d4162366bb892dc1a4a92110c656e2622ca.zip |
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index a066c41beac7..d9f5e74cdcfc 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -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 = { |