Commit 9d53b1be authored by David Vrabel's avatar David Vrabel Committed by David Vrabel

uwb: initialize the debug sub-system

Call uwb_dbg_init() so the debugfs files are accessible.
Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
parent 9d839477
...@@ -119,6 +119,7 @@ static int __init uwb_subsys_init(void) ...@@ -119,6 +119,7 @@ static int __init uwb_subsys_init(void)
if (result < 0) if (result < 0)
goto error_uwb_rc_class_register; goto error_uwb_rc_class_register;
uwbd_start(); uwbd_start();
uwb_dbg_init();
return 0; return 0;
error_uwb_rc_class_register: error_uwb_rc_class_register:
...@@ -130,6 +131,7 @@ module_init(uwb_subsys_init); ...@@ -130,6 +131,7 @@ module_init(uwb_subsys_init);
static void __exit uwb_subsys_exit(void) static void __exit uwb_subsys_exit(void)
{ {
uwb_dbg_exit();
uwbd_stop(); uwbd_stop();
class_unregister(&uwb_rc_class); class_unregister(&uwb_rc_class);
uwb_est_destroy(); uwb_est_destroy();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment