summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/micrel
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-09-16 11:11:22 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-17 21:24:02 -0700
commit88c796640eac36209efabe5e42b7b47dee58603e (patch)
tree7eeac3a06fdee652c224af0799fce9b8b8417638 /drivers/net/ethernet/micrel
parent4671fc6d47e0a0108fe24a4d830347d6a6ef4aa7 (diff)
downloadlinux-stable-88c796640eac36209efabe5e42b7b47dee58603e.tar.gz
linux-stable-88c796640eac36209efabe5e42b7b47dee58603e.tar.bz2
linux-stable-88c796640eac36209efabe5e42b7b47dee58603e.zip
net: ks8851: Export OF module alias information
Drivers needs to export the OF id table and this be built into the module or udev won't have the necessary information to autoload the driver module when the device is registered via OF. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/micrel')
-rw-r--r--drivers/net/ethernet/micrel/ks8851.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/micrel/ks8851.c b/drivers/net/ethernet/micrel/ks8851.c
index 66d4ab703f45..60f43ec22175 100644
--- a/drivers/net/ethernet/micrel/ks8851.c
+++ b/drivers/net/ethernet/micrel/ks8851.c
@@ -1601,6 +1601,7 @@ static const struct of_device_id ks8851_match_table[] = {
{ .compatible = "micrel,ks8851" },
{ }
};
+MODULE_DEVICE_TABLE(of, ks8851_match_table);
static struct spi_driver ks8851_driver = {
.driver = {