diff options
| -rw-r--r-- | drivers/net/dm9000.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 7eea8e1a1230..7965a9b08e79 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
| @@ -768,7 +768,7 @@ dm9000_stop(struct net_device *ndev) | |||
| 768 | * receive the packet to upper layer, free the transmitted packet | 768 | * receive the packet to upper layer, free the transmitted packet |
| 769 | */ | 769 | */ |
| 770 | 770 | ||
| 771 | void | 771 | static void |
| 772 | dm9000_tx_done(struct net_device *dev, board_info_t * db) | 772 | dm9000_tx_done(struct net_device *dev, board_info_t * db) |
| 773 | { | 773 | { |
| 774 | int tx_status = ior(db, DM9000_NSR); /* Got TX status */ | 774 | int tx_status = ior(db, DM9000_NSR); /* Got TX status */ |
| @@ -1188,13 +1188,14 @@ dm9000_drv_remove(struct platform_device *pdev) | |||
| 1188 | } | 1188 | } |
| 1189 | 1189 | ||
| 1190 | static struct platform_driver dm9000_driver = { | 1190 | static struct platform_driver dm9000_driver = { |
| 1191 | .driver = { | ||
| 1192 | .name = "dm9000", | ||
| 1193 | .owner = THIS_MODULE, | ||
| 1194 | }, | ||
| 1191 | .probe = dm9000_probe, | 1195 | .probe = dm9000_probe, |
| 1192 | .remove = dm9000_drv_remove, | 1196 | .remove = dm9000_drv_remove, |
| 1193 | .suspend = dm9000_drv_suspend, | 1197 | .suspend = dm9000_drv_suspend, |
| 1194 | .resume = dm9000_drv_resume, | 1198 | .resume = dm9000_drv_resume, |
| 1195 | .driver = { | ||
| 1196 | .name = "dm9000", | ||
| 1197 | }, | ||
| 1198 | }; | 1199 | }; |
| 1199 | 1200 | ||
| 1200 | static int __init | 1201 | static int __init |
