aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/driver.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-09-17 11:34:34 -0400
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>2008-09-17 11:54:33 -0400
commit9d53b1bebe23a6efe4f0a0ff75df2424e013fe07 (patch)
treea3c921d2907e40d8672236281dff1c26e1fa4ce7 /drivers/uwb/driver.c
parent9d839477f85438695bd870898ffa77347e61b637 (diff)
uwb: initialize the debug sub-system
Call uwb_dbg_init() so the debugfs files are accessible. Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/driver.c')
-rw-r--r--drivers/uwb/driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/uwb/driver.c b/drivers/uwb/driver.c
index 7eee8e408308..521cdeb84971 100644
--- a/drivers/uwb/driver.c
+++ b/drivers/uwb/driver.c
@@ -119,6 +119,7 @@ static int __init uwb_subsys_init(void)
119 if (result < 0) 119 if (result < 0)
120 goto error_uwb_rc_class_register; 120 goto error_uwb_rc_class_register;
121 uwbd_start(); 121 uwbd_start();
122 uwb_dbg_init();
122 return 0; 123 return 0;
123 124
124error_uwb_rc_class_register: 125error_uwb_rc_class_register:
@@ -130,6 +131,7 @@ module_init(uwb_subsys_init);
130 131
131static void __exit uwb_subsys_exit(void) 132static void __exit uwb_subsys_exit(void)
132{ 133{
134 uwb_dbg_exit();
133 uwbd_stop(); 135 uwbd_stop();
134 class_unregister(&uwb_rc_class); 136 class_unregister(&uwb_rc_class);
135 uwb_est_destroy(); 137 uwb_est_destroy();