2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-14 16:44:29 +08:00

staging: silicom: fix C99 comments in bp_proc.c

Fix C99 // comments in bp_proc.c to resolve checkpatch.pl errors.

Signed-off-by: Chad Williamson <chad@dahc.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chad Williamson 2012-10-15 05:30:36 -05:00 committed by Greg Kroah-Hartman
parent 19c1fb1375
commit 1713eaf7fc

View File

@ -18,11 +18,11 @@
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
//#include <linux/smp_lock.h> /* #include <linux/smp_lock.h> */
#include "bp_mod.h" #include "bp_mod.h"
#define BP_PROC_DIR "bypass" #define BP_PROC_DIR "bypass"
//#define BYPASS_SUPPORT "bypass" /* #define BYPASS_SUPPORT "bypass" */
#ifdef BYPASS_SUPPORT #ifdef BYPASS_SUPPORT
@ -70,7 +70,7 @@
#define DISC_CHANGE_ENTRY_SD "disc_change" #define DISC_CHANGE_ENTRY_SD "disc_change"
#define DIS_DISC_ENTRY_SD "dis_disc" #define DIS_DISC_ENTRY_SD "dis_disc"
#define DISC_PWUP_ENTRY_SD "disc_pwup" #define DISC_PWUP_ENTRY_SD "disc_pwup"
#endif //bypass_support #endif /* bypass_support */
static struct proc_dir_entry *bp_procfs_dir; static struct proc_dir_entry *bp_procfs_dir;
static struct proc_dir_entry *proc_getdir(char *name, static struct proc_dir_entry *proc_getdir(char *name,