staging: vme_user: declare private variables as static
Signed-off-by: Emilio G. Cota <cota@braap.org> [martyn.welch@ge.com: modified to remove checkpatch warnings] Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
efbb979d1b
commit
b9cc293486
1 changed files with 3 additions and 3 deletions
|
@ -114,9 +114,9 @@ typedef struct {
|
|||
} driver_stats_t;
|
||||
static driver_stats_t statistics;
|
||||
|
||||
struct cdev *vme_user_cdev; /* Character device */
|
||||
struct class *vme_user_sysfs_class; /* Sysfs class */
|
||||
struct device *vme_user_bridge; /* Pointer to the bridge device */
|
||||
static struct cdev *vme_user_cdev; /* Character device */
|
||||
static struct class *vme_user_sysfs_class; /* Sysfs class */
|
||||
static struct device *vme_user_bridge; /* Pointer to bridge device */
|
||||
|
||||
|
||||
static const int type[VME_DEVS] = { MASTER_MINOR, MASTER_MINOR,
|
||||
|
|
Loading…
Reference in a new issue