uwb: initialize the debug sub-system
authorDavid Vrabel <david.vrabel@csr.com>
Wed, 17 Sep 2008 15:34:34 +0000 (16:34 +0100)
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>
Wed, 17 Sep 2008 15:54:33 +0000 (16:54 +0100)
Call uwb_dbg_init() so the debugfs files are accessible.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/driver.c

index 7eee8e4..521cdeb 100644 (file)
@@ -119,6 +119,7 @@ static int __init uwb_subsys_init(void)
        if (result < 0)
                goto error_uwb_rc_class_register;
        uwbd_start();
+       uwb_dbg_init();
        return 0;
 
 error_uwb_rc_class_register:
@@ -130,6 +131,7 @@ module_init(uwb_subsys_init);
 
 static void __exit uwb_subsys_exit(void)
 {
+       uwb_dbg_exit();
        uwbd_stop();
        class_unregister(&uwb_rc_class);
        uwb_est_destroy();