]> err.no Git - linux-2.6/blobdiff - drivers/media/video/cafe_ccic.c
V4L/DVB (7854): cx18/ivtv: improve and fix out-of-memory handling
[linux-2.6] / drivers / media / video / cafe_ccic.c
index 7ae499c9c54c8785e497e9ddabdcde740c017f01..5195b1f3378a627d60dd66452033ae1f2e56f353 100644 (file)
@@ -65,7 +65,7 @@ MODULE_SUPPORTED_DEVICE("Video");
  */
 
 #define MAX_DMA_BUFS 3
-static int alloc_bufs_at_read = 0;
+static int alloc_bufs_at_read;
 module_param(alloc_bufs_at_read, bool, 0444);
 MODULE_PARM_DESC(alloc_bufs_at_read,
                "Non-zero value causes DMA buffers to be allocated when the "
@@ -99,7 +99,7 @@ MODULE_PARM_DESC(max_buffers,
                "will be allowed to allocate.  These buffers are big and live "
                "in vmalloc space.");
 
-static int flip = 0;
+static int flip;
 module_param(flip, bool, 0444);
 MODULE_PARM_DESC(flip,
                "If set, the sensor will be instructed to flip the image "