Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170398
b: refs/heads/master
c: ddaf1b2
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Nov 6, 2009
1 parent e85fa1e commit 240bffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d13500981e7df7f0e84d7f37f85d720cefe6043e
refs/heads/master: ddaf1b27edf72372242d752730d526b79312a44e
6 changes: 3 additions & 3 deletions trunk/drivers/serial/apbuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/device.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/serial_core.h>
Expand Down Expand Up @@ -676,8 +677,7 @@ static int __init grlib_apbuart_init(void)
return ret;
}

ret = of_register_driver(&grlib_apbuart_of_driver, &of_platform_bus_type);

ret = of_register_platform_driver(&grlib_apbuart_of_driver);
if (ret) {
printk(KERN_ERR
"%s: of_register_platform_driver failed (%i)\n",
Expand All @@ -698,7 +698,7 @@ static void __exit grlib_apbuart_exit(void)
&grlib_apbuart_ports[i]);

uart_unregister_driver(&grlib_apbuart_driver);

of_unregister_platform_driver(&grlib_apbuart_of_driver);
}

module_init(grlib_apbuart_init);
Expand Down

0 comments on commit 240bffa

Please sign in to comment.