]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/video/tcx.c
s3c-fb: only init window colour key controls for windows with blending
[mirror_ubuntu-bionic-kernel.git] / drivers / video / tcx.c
index cc039b33d2d8bd762a493bd650fceb1b0895a52f..f375e0db6776bcefae43c2e26fa08a213c88d6c3 100644 (file)
@@ -526,12 +526,12 @@ static int __init tcx_init(void)
        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)
 {
-       of_unregister_driver(&tcx_driver);
+       of_unregister_platform_driver(&tcx_driver);
 }
 
 module_init(tcx_init);