net: ks8851: Export OF module alias information
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 16 Sep 2015 09:11:22 +0000 (11:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 04:24:02 +0000 (21:24 -0700)
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>
drivers/net/ethernet/micrel/ks8851.c

index 66d4ab703f45a20b7949e1bd3e448c9dc182e68f..60f43ec2217532abae6c7d4e9529c7db4eb23b4b 100644 (file)
@@ -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 = {
This page took 0.026617 seconds and 5 git commands to generate.