aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/sl811-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/sl811-hcd.c')
-rw-r--r--drivers/usb/host/sl811-hcd.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c
index 3fd7a0c12078..426575247b23 100644
--- a/drivers/usb/host/sl811-hcd.c
+++ b/drivers/usb/host/sl811-hcd.c
@@ -1506,15 +1506,7 @@ static const char proc_filename[] = "driver/sl811h";
1506 1506
1507static void create_debug_file(struct sl811 *sl811) 1507static void create_debug_file(struct sl811 *sl811)
1508{ 1508{
1509 struct proc_dir_entry *pde; 1509 sl811->pde = proc_create_data(proc_filename, 0, NULL, &proc_ops, sl811);
1510
1511 pde = create_proc_entry(proc_filename, 0, NULL);
1512 if (pde == NULL)
1513 return;
1514
1515 pde->proc_fops = &proc_ops;
1516 pde->data = sl811;
1517 sl811->pde = pde;
1518} 1510}
1519 1511
1520static void remove_debug_file(struct sl811 *sl811) 1512static void remove_debug_file(struct sl811 *sl811)