Skip to content

Commit

Permalink
staging: vme_user: declare private variables as static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emilio G. Cota authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent efbb979 commit b9cc293
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/vme/devices/vme_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b9cc293

Please sign in to comment.