]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix OF platform drivers coldplug/hotplug when compiled as modules
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 14 Oct 2009 21:54:52 +0000 (14:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Oct 2009 21:54:52 +0000 (14:54 -0700)
commitd2514034eee95459ad5851bd17a6bbe7a9fa9cb8
tree2a8edc6952e79c3d2ee3bdf7690ed1a6f2e7bcc6
parent418588d5dbae5c7eaafc81a4382fcc3e444661d7
net: Fix OF platform drivers coldplug/hotplug when compiled as modules

Some OF platform drivers are missing module device tables, so they won't
load automatically on boot. This patch fixes the issue by adding proper
MODULE_DEVICE_TABLE() macros to the drivers.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/sja1000/sja1000_of_platform.c
drivers/net/fec_mpc52xx_phy.c
drivers/net/fs_enet/fs_enet-main.c
drivers/net/fs_enet/mii-bitbang.c
drivers/net/fs_enet/mii-fec.c
drivers/net/fsl_pq_mdio.c
drivers/net/gianfar.c
drivers/net/ibm_newemac/core.c
drivers/net/phy/mdio-gpio.c