diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-27 16:42:47 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-27 16:42:47 -0400 |
| commit | f1462147f15a954a1a0553390846c6fa3ca742b1 (patch) | |
| tree | c57ad5f209bd6bc735580172057153d60f0a4442 /drivers/net/arm/at91_ether.c | |
| parent | e00b95debb9a0f023b61abcd4b1e74f687276b47 (diff) | |
| parent | 6d7760a88c25057c2c2243e5dfe2d731064bd31d (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (45 commits)
cnic: Fix ISCSI_KEVENT_IF_DOWN message handling.
net: irda: init spinlock after memcpy
ixgbe: fix for 82599 errata marking UDP checksum errors
r8169: WakeOnLan fix for the 8168
netxen: reset ring consumer during cleanup
net/bridge: use kobject_put to release kobject in br_add_if error path
smc91x.h: add config for Nomadik evaluation kit
NET: ROSE: Don't use static buffer.
eepro: Read buffer overflow
tokenring: Read buffer overflow
at1700: Read buffer overflow
fealnx: Write outside array bounds
ixgbe: remove unnecessary call to device_init_wakeup
ixgbe: Don't priority tag control frames in DCB mode
ixgbe: Enable FCoE offload when DCB is enabled for 82599
net: Rework mdio-ofgpio driver to use of_mdio infrastructure
register at91_ether using platform_driver_probe
skge: Enable WoL by default if supported
net: KS8851 needs to depend on MII
be2net: Bug fix in the non-lro path. Size of received packet was not updated in statistics properly.
...
Diffstat (limited to 'drivers/net/arm/at91_ether.c')
| -rw-r--r-- | drivers/net/arm/at91_ether.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c index 2e7419a61191..5041d10bae9d 100644 --- a/drivers/net/arm/at91_ether.c +++ b/drivers/net/arm/at91_ether.c | |||
| @@ -1228,7 +1228,6 @@ static int at91ether_resume(struct platform_device *pdev) | |||
| 1228 | #endif | 1228 | #endif |
| 1229 | 1229 | ||
| 1230 | static struct platform_driver at91ether_driver = { | 1230 | static struct platform_driver at91ether_driver = { |
| 1231 | .probe = at91ether_probe, | ||
| 1232 | .remove = __devexit_p(at91ether_remove), | 1231 | .remove = __devexit_p(at91ether_remove), |
| 1233 | .suspend = at91ether_suspend, | 1232 | .suspend = at91ether_suspend, |
| 1234 | .resume = at91ether_resume, | 1233 | .resume = at91ether_resume, |
| @@ -1240,7 +1239,7 @@ static struct platform_driver at91ether_driver = { | |||
| 1240 | 1239 | ||
| 1241 | static int __init at91ether_init(void) | 1240 | static int __init at91ether_init(void) |
| 1242 | { | 1241 | { |
| 1243 | return platform_driver_register(&at91ether_driver); | 1242 | return platform_driver_probe(&at91ether_driver, at91ether_probe); |
| 1244 | } | 1243 | } |
| 1245 | 1244 | ||
| 1246 | static void __exit at91ether_exit(void) | 1245 | static void __exit at91ether_exit(void) |
