Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165458
b: refs/heads/master
c: f33dabb
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and David Woodhouse committed Sep 19, 2009
1 parent ca04371 commit 4976aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2eaaa5ff87c675aacd3a869fc5fe75a35bbd5278
refs/heads/master: f33dabbe79fdf7a8568c65faa1db7794c87ac4d3
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/orion_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ static int __devexit orion_nand_remove(struct platform_device *pdev)
}

static struct platform_driver orion_nand_driver = {
.probe = orion_nand_probe,
.remove = __devexit_p(orion_nand_remove),
.driver = {
.name = "orion_nand",
Expand All @@ -181,7 +180,7 @@ static struct platform_driver orion_nand_driver = {

static int __init orion_nand_init(void)
{
return platform_driver_register(&orion_nand_driver);
return platform_driver_probe(&orion_nand_driver, orion_nand_probe);
}

static void __exit orion_nand_exit(void)
Expand Down

0 comments on commit 4976aaa

Please sign in to comment.