Commit 7950e2d8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

[PATCH] namespace pollution in ibmcam driver

The variable 'cams' should be static.
Don't initialize to 0, while we're here.
parent a641de2e
...@@ -87,11 +87,11 @@ typedef struct { ...@@ -87,11 +87,11 @@ typedef struct {
} ibmcam_t; } ibmcam_t;
#define IBMCAM_T(uvd) ((ibmcam_t *)((uvd)->user_data)) #define IBMCAM_T(uvd) ((ibmcam_t *)((uvd)->user_data))
struct usbvideo *cams = NULL; static struct usbvideo *cams;
static int debug = 0; static int debug;
static int flags = 0; /* FLAGS_DISPLAY_HINTS | FLAGS_OVERLAY_STATS; */ static int flags; /* = FLAGS_DISPLAY_HINTS | FLAGS_OVERLAY_STATS; */
static const int min_canvasWidth = 8; static const int min_canvasWidth = 8;
static const int min_canvasHeight = 4; static const int min_canvasHeight = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment