diff options
| author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2008-05-08 06:33:03 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-13 01:31:45 -0400 |
| commit | e21fd4f07dd0c2630c3db41f419e4c658d0dee2c (patch) | |
| tree | 4900a4912d1db17f6529ebf98c742cba836d7af2 | |
| parent | a300344ab9b77130310fc225fdc7677e129b1163 (diff) | |
DM9000: Add __devinit and __devexit attributes to probe and remove
There were missing __dev* annotations for the dm9000_probe()
and dm9000_drv_remove() functions.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
| -rw-r--r-- | drivers/net/dm9000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index e6fe2614ea6d..273e654adab0 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
| @@ -503,7 +503,7 @@ dm9000_release_board(struct platform_device *pdev, struct board_info *db) | |||
| 503 | /* | 503 | /* |
| 504 | * Search DM9000 board, allocate space and register it | 504 | * Search DM9000 board, allocate space and register it |
| 505 | */ | 505 | */ |
| 506 | static int | 506 | static int __devinit |
| 507 | dm9000_probe(struct platform_device *pdev) | 507 | dm9000_probe(struct platform_device *pdev) |
| 508 | { | 508 | { |
| 509 | struct dm9000_plat_data *pdata = pdev->dev.platform_data; | 509 | struct dm9000_plat_data *pdata = pdev->dev.platform_data; |
| @@ -1372,7 +1372,7 @@ dm9000_drv_resume(struct platform_device *dev) | |||
| 1372 | return 0; | 1372 | return 0; |
| 1373 | } | 1373 | } |
| 1374 | 1374 | ||
| 1375 | static int | 1375 | static int __devexit |
| 1376 | dm9000_drv_remove(struct platform_device *pdev) | 1376 | dm9000_drv_remove(struct platform_device *pdev) |
| 1377 | { | 1377 | { |
| 1378 | struct net_device *ndev = platform_get_drvdata(pdev); | 1378 | struct net_device *ndev = platform_get_drvdata(pdev); |
| @@ -1393,7 +1393,7 @@ static struct platform_driver dm9000_driver = { | |||
| 1393 | .owner = THIS_MODULE, | 1393 | .owner = THIS_MODULE, |
| 1394 | }, | 1394 | }, |
| 1395 | .probe = dm9000_probe, | 1395 | .probe = dm9000_probe, |
| 1396 | .remove = dm9000_drv_remove, | 1396 | .remove = __devexit_p(dm9000_drv_remove), |
| 1397 | .suspend = dm9000_drv_suspend, | 1397 | .suspend = dm9000_drv_suspend, |
| 1398 | .resume = dm9000_drv_resume, | 1398 | .resume = dm9000_drv_resume, |
| 1399 | }; | 1399 | }; |
