.. | .. |
---|
18 | 18 | #include "bits.h" |
---|
19 | 19 | #include "otg.h" |
---|
20 | 20 | |
---|
21 | | -/** |
---|
| 21 | +/* |
---|
22 | 22 | * ci_device_show: prints information about device capabilities and status |
---|
23 | 23 | */ |
---|
24 | 24 | static int ci_device_show(struct seq_file *s, void *data) |
---|
.. | .. |
---|
47 | 47 | } |
---|
48 | 48 | DEFINE_SHOW_ATTRIBUTE(ci_device); |
---|
49 | 49 | |
---|
50 | | -/** |
---|
| 50 | +/* |
---|
51 | 51 | * ci_port_test_show: reads port test mode |
---|
52 | 52 | */ |
---|
53 | 53 | static int ci_port_test_show(struct seq_file *s, void *data) |
---|
.. | .. |
---|
67 | 67 | return 0; |
---|
68 | 68 | } |
---|
69 | 69 | |
---|
70 | | -/** |
---|
| 70 | +/* |
---|
71 | 71 | * ci_port_test_write: writes port test mode |
---|
72 | 72 | */ |
---|
73 | 73 | static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf, |
---|
.. | .. |
---|
115 | 115 | .release = single_release, |
---|
116 | 116 | }; |
---|
117 | 117 | |
---|
118 | | -/** |
---|
| 118 | +/* |
---|
119 | 119 | * ci_qheads_show: DMA contents of all queue heads |
---|
120 | 120 | */ |
---|
121 | 121 | static int ci_qheads_show(struct seq_file *s, void *data) |
---|
.. | .. |
---|
147 | 147 | } |
---|
148 | 148 | DEFINE_SHOW_ATTRIBUTE(ci_qheads); |
---|
149 | 149 | |
---|
150 | | -/** |
---|
| 150 | +/* |
---|
151 | 151 | * ci_requests_show: DMA contents of all requests currently queued (all endpts) |
---|
152 | 152 | */ |
---|
153 | 153 | static int ci_requests_show(struct seq_file *s, void *data) |
---|
.. | .. |
---|
342 | 342 | */ |
---|
343 | 343 | void dbg_create_files(struct ci_hdrc *ci) |
---|
344 | 344 | { |
---|
345 | | - ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL); |
---|
| 345 | + ci->debugfs = debugfs_create_dir(dev_name(ci->dev), usb_debug_root); |
---|
346 | 346 | |
---|
347 | 347 | debugfs_create_file("device", S_IRUGO, ci->debugfs, ci, |
---|
348 | 348 | &ci_device_fops); |
---|