Skip to content

Commit

Permalink
uwb: initialize the debug sub-system
Browse files Browse the repository at this point in the history
Call uwb_dbg_init() so the debugfs files are accessible.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
  • Loading branch information
David Vrabel authored and David Vrabel committed Sep 17, 2008
1 parent 9d83947 commit 9d53b1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/uwb/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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();
Expand Down

0 comments on commit 9d53b1b

Please sign in to comment.