Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225869 > unrolled thread

[RESEND PATCH] net: ks8851: Export OF module alias information

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-09-16 11:20 +0200
Last post2015-09-18 06:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH] net: ks8851: Export OF module alias information Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 11:20 +0200
    Re: [RESEND PATCH] net: ks8851: Export OF module alias information David Miller <davem@davemloft.net> - 2015-09-18 06:30 +0200

#1225869 — [RESEND PATCH] net: ks8851: Export OF module alias information

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-16 11:20 +0200
Subject[RESEND PATCH] net: ks8851: Export OF module alias information
Message-ID<q9h2G-7W-9@gated-at.bofh.it>
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>

---

 drivers/net/ethernet/micrel/ks8851.c | 1 +
 1 file changed, 1 insertion(+)

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 = {
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1227546

FromDavid Miller <davem@davemloft.net>
Date2015-09-18 06:30 +0200
Message-ID<q9Vt8-eQ-5@gated-at.bofh.it>
In reply to#1225869
From: Javier Martinez Canillas <javier@osg.samsung.com>
Date: Wed, 16 Sep 2015 11:11:22 +0200

> 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>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web