projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-mrst-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
tcx.c
diff --git
a/drivers/video/tcx.c
b/drivers/video/tcx.c
index cc039b33d2d8bd762a493bd650fceb1b0895a52f..f375e0db6776bcefae43c2e26fa08a213c88d6c3 100644
(file)
--- a/
drivers/video/tcx.c
+++ b/
drivers/video/tcx.c
@@
-526,12
+526,12
@@
static int __init tcx_init(void)
if (fb_get_options("tcxfb", NULL))
return -ENODEV;
if (fb_get_options("tcxfb", NULL))
return -ENODEV;
- return of_register_
driver(&tcx_driver, &of_bus_type
);
+ return of_register_
platform_driver(&tcx_driver
);
}
static void __exit tcx_exit(void)
{
}
static void __exit tcx_exit(void)
{
- of_unregister_driver(&tcx_driver);
+ of_unregister_
platform_
driver(&tcx_driver);
}
module_init(tcx_init);
}
module_init(tcx_init);