git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Fix OF platform drivers coldplug/hotplug when compiled as modules
[safe/jmp/linux-2.6]
/
drivers
/
net
/
ibm_newemac
/
core.c
diff --git
a/drivers/net/ibm_newemac/core.c
b/drivers/net/ibm_newemac/core.c
index
c6591cb
..
3fae875
100644
(file)
--- a/
drivers/net/ibm_newemac/core.c
+++ b/
drivers/net/ibm_newemac/core.c
@@
-24,6
+24,7
@@
*
*/
+#include <linux/module.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
@@
-2988,6
+2989,7
@@
static struct of_device_id emac_match[] =
},
{},
};
+MODULE_DEVICE_TABLE(of, emac_match);
static struct of_platform_driver emac_driver = {
.name = "emac",