From f541b60c73ff56059bba1d1120123d8e3fad66e1 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 13 Aug 2007 04:33:23 -0700 Subject: [PATCH] musb_hdrc: Search and replace pProcEntry with proc_entry Search and replace pProcEntry with proc_entry Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_procfs.c | 4 ++-- drivers/usb/musb/musbdefs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_procfs.c b/drivers/usb/musb/musb_procfs.c index f2fdce0160c..b141a73c333 100644 --- a/drivers/usb/musb/musb_procfs.c +++ b/drivers/usb/musb/musb_procfs.c @@ -821,7 +821,7 @@ static int musb_proc_read(char *page, char **start, void __devexit musb_debug_delete(char *name, struct musb *musb) { - if (musb->pProcEntry) + if (musb->proc_entry) remove_proc_entry(name, NULL); } @@ -835,7 +835,7 @@ musb_debug_create(char *name, struct musb *data) if (!name) return NULL; - data->pProcEntry = pde = create_proc_entry(name, + data->proc_entry = pde = create_proc_entry(name, S_IFREG | S_IRUGO | S_IWUSR, NULL); if (pde) { pde->data = data; diff --git a/drivers/usb/musb/musbdefs.h b/drivers/usb/musb/musbdefs.h index 17c7cbebcd2..2465e230485 100644 --- a/drivers/usb/musb/musbdefs.h +++ b/drivers/usb/musb/musbdefs.h @@ -455,7 +455,7 @@ struct musb { #endif #ifdef MUSB_CONFIG_PROC_FS - struct proc_dir_entry *pProcEntry; + struct proc_dir_entry *proc_entry; #endif }; -- 2.41.1