From: Tony Lindgren Date: Mon, 13 Aug 2007 11:33:23 +0000 (-0700) Subject: musb_hdrc: Search and replace pProcEntry with proc_entry X-Git-Tag: v2.6.23-omap1~228^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f541b60c73ff56059bba1d1120123d8e3fad66e1;p=linux-2.6-omap-h63xx.git musb_hdrc: Search and replace pProcEntry with proc_entry Search and replace pProcEntry with proc_entry Signed-off-by: Tony Lindgren --- 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 };