Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92354
b: refs/heads/master
c: ff699e6
h: refs/heads/master
v: v3
  • Loading branch information
Douglas Schilling Landgraf authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent ad57228 commit d8bcf7c
Show file tree
Hide file tree
Showing 112 changed files with 197 additions and 193 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29bec0bff50d8f8b108ed22e9981eb4635efc566
refs/heads/master: ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c
2 changes: 1 addition & 1 deletion trunk/drivers/media/common/ir-functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static int repeat = 1;
module_param(repeat, int, 0444);
MODULE_PARM_DESC(repeat,"auto-repeat for IR keys (default: on)");

static int debug = 0; /* debug level (0,1,2) */
static int debug; /* debug level (0,1,2) */
module_param(debug, int, 0644);

#define dprintk(level, fmt, arg...) if (debug >= level) \
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/b2c2/flexcop-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MODULE_PARM_DESC(irq_chk_intv, "set the interval for IRQ watchdog (currently jus
#define deb_irq(args...) dprintk(0x08,args)
#define deb_chk(args...) dprintk(0x10,args)

static int debug = 0;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "set debug level (1=info,2=regs,4=TS,8=irqdma (|-able))." DEBSTATUS);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/dvb-core/dvb_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )
#ifdef ULE_DEBUG
/* The code inside ULE_DEBUG keeps a history of the last 100 TS cells processed. */
static unsigned char ule_hist[100*TS_SZ];
static unsigned char *ule_where = ule_hist, ule_dump = 0;
static unsigned char *ule_where = ule_hist, ule_dump;
#endif

/* For all TS cells in current buffer.
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/cx22702.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct cx22702_state {
u8 prevUCBlocks;
};

static int debug = 0;
static int debug;
#define dprintk if (debug) printk

/* Register values to initialise the demod */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/dvb-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct dvb_pll_priv {

static unsigned int dvb_pll_devcount;

static int debug = 0;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "enable verbose debug messages");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/lgdt330x.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/* Use Equalizer Mean Squared Error instead of Phaser Tracker MSE */
/* #define USE_EQMSE */

static int debug = 0;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"Turn on/off lgdt330x frontend debugging (default:off).");
#define dprintk(args...) \
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/nxt6000.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct nxt6000_state {
struct dvb_frontend frontend;
};

static int debug = 0;
static int debug;
#define dprintk if (debug) printk

static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/s5h1409.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct s5h1409_state {
u32 qam_state;
};

static int debug = 0;
static int debug;
#define dprintk if (debug) printk

/* Register values to initialise the demod, this will set VSB by default */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/s5h1420.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static int s5h1420_get_tune_settings(struct dvb_frontend* fe,
struct dvb_frontend_tune_settings* fesettings);


static int debug = 0;
static int debug;
#define dprintk if (debug) printk

static int s5h1420_writereg (struct s5h1420_state* state, u8 reg, u8 data)
Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/media/dvb/frontends/sp8870.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,15 +449,15 @@ static int sp8870_read_uncorrected_blocks (struct dvb_frontend* fe, u32* ublocks
return 0;
}

// number of trials to recover from lockup
/* number of trials to recover from lockup */
#define MAXTRIALS 5
// maximum checks for data valid signal
/* maximum checks for data valid signal */
#define MAXCHECKS 100

// only for debugging: counter for detected lockups
static int lockups = 0;
// only for debugging: counter for channel switches
static int switches = 0;
/* only for debugging: counter for detected lockups */
static int lockups;
/* only for debugging: counter for channel switches */
static int switches;

static int sp8870_set_frontend (struct dvb_frontend* fe, struct dvb_frontend_parameters *p)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/tda10086.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct tda10086_state {
bool has_lock;
};

static int debug = 0;
static int debug;
#define dprintk(args...) \
do { \
if (debug) printk(KERN_DEBUG "tda10086: " args); \
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/tda826x.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include "tda826x.h"

static int debug = 0;
static int debug;
#define dprintk(args...) \
do { \
if (debug) printk(KERN_DEBUG "tda826x: " args); \
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/tda827x.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "tda827x.h"

static int debug = 0;
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/ves1x93.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct ves1x93_state {
u8 demod_type;
};

static int debug = 0;
static int debug;
#define dprintk if (debug) printk

#define DEMOD_VES1893 0
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/zl10353.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static int debug;
if (debug) printk(KERN_DEBUG "zl10353: " args); \
} while (0)

static int debug_regs = 0;
static int debug_regs;

static int zl10353_single_write(struct dvb_frontend *fe, u8 reg, u8 val)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int rc5_device = -1;
module_param(rc5_device, int, 0644);
MODULE_PARM_DESC(rc5_device, "only IR commands to given RC5 device (device = 0 - 31, any device = 255, default: autodetect)");

static int ir_debug = 0;
static int ir_debug;
module_param(ir_debug, int, 0644);
MODULE_PARM_DESC(ir_debug, "enable debugging information for IR decoding");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ static void ttusb_handle_sec_data(struct ttusb_channel *channel,
const u8 * data, int len);
#endif

static int numpkt = 0, numts, numstuff, numsec, numinvalid;
static int numpkt, numts, numstuff, numsec, numinvalid;
static unsigned long lastj;

static void ttusb_process_muxpack(struct ttusb *ttusb, const u8 * muxpack,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/miropcm20-rds.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "miropcm20-rds-core.h"

static char * text_buffer;
static int rds_users = 0;
static int rds_users;


static int rds_f_open(struct inode *in, struct file *fi)
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/media/radio/radio-cadet.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ static struct v4l2_queryctrl radio_qctrl[] = {

static int io=-1; /* default to isapnp activation */
static int radio_nr = -1;
static int users=0;
static int curtuner=0;
static int tunestat=0;
static int sigstrength=0;
static int users;
static int curtuner;
static int tunestat;
static int sigstrength;
static wait_queue_head_t read_queue;
static struct timer_list readtimer;
static __u8 rdsin=0,rdsout=0,rdsstat=0;
static __u8 rdsin, rdsout, rdsstat;
static unsigned char rdsbuf[RDS_BUFFER];
static spinlock_t cadet_io_lock;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/radio-typhoon.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ MODULE_PARM_DESC(io, "I/O address of the Typhoon card (0x316 or 0x336)");
module_param(radio_nr, int, 0);

#ifdef MODULE
static unsigned long mutefreq = 0;
static unsigned long mutefreq;
module_param(mutefreq, ulong, 0);
MODULE_PARM_DESC(mutefreq, "Frequency used when muting the card (in kHz)");
#endif
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/adv7170.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ MODULE_LICENSE("GPL");
#define I2C_NAME(x) (x)->name


static int debug = 0;
static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "Debug level (0-1)");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/adv7175.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ MODULE_LICENSE("GPL");
#define I2C_NAME(s) (s)->name


static int debug = 0;
static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "Debug level (0-1)");

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/arv.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ static unsigned char yuv[MAX_AR_FRAME_BYTES];
/* default frequency */
#define DEFAULT_FREQ 50 /* 50 or 75 (MHz) is available as BCLK */
static int freq = DEFAULT_FREQ; /* BCLK: available 50 or 70 (MHz) */
static int vga = 0; /* default mode(0:QVGA mode, other:VGA mode) */
static int vga_interlace = 0; /* 0 is normal mode for, else interlace mode */
static int vga; /* default mode(0:QVGA mode, other:VGA mode) */
static int vga_interlace; /* 0 is normal mode for, else interlace mode */
module_param(freq, int, 0);
module_param(vga, int, 0);
module_param(vga_interlace, int, 0);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/bt819.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ MODULE_LICENSE("GPL");
#define I2C_NAME(s) (s)->name


static int debug = 0;
static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "Debug level (0-1)");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/bt856.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ MODULE_LICENSE("GPL");
#define I2C_NAME(s) (s)->name


static int debug = 0;
static int debug;
module_param(debug, int, 0);
MODULE_PARM_DESC(debug, "Debug level (0-1)");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/bt8xx/bttv-vbi.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#define VBI_DEFLINES 16

static unsigned int vbibufs = 4;
static unsigned int vbi_debug = 0;
static unsigned int vbi_debug;

module_param(vbibufs, int, 0444);
module_param(vbi_debug, int, 0644);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/bw-qcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static inline int qc_readbytes(struct qcam_device *q, char buffer[])
int ret=1;
unsigned int hi, lo;
unsigned int hi2, lo2;
static int state = 0;
static int state;

if (buffer == NULL)
{
Expand Down Expand Up @@ -912,7 +912,7 @@ static struct video_device qcam_template=

#define MAX_CAMS 4
static struct qcam_device *qcams[MAX_CAMS];
static unsigned int num_cams = 0;
static unsigned int num_cams;

static int init_bwqcam(struct parport *port)
{
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/c-qcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct qcam_device {

static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 };
static int probe = 2;
static int force_rgb = 0;
static int force_rgb;
static int video_nr = -1;

static inline void qcam_set_ack(struct qcam_device *qcam, unsigned int i)
Expand Down Expand Up @@ -741,7 +741,7 @@ static struct qcam_device *qcam_init(struct parport *port)
}

static struct qcam_device *qcams[MAX_CAMS];
static unsigned int num_cams = 0;
static unsigned int num_cams;

static int init_cqcam(struct parport *port)
{
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/cafe_ccic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down Expand Up @@ -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 "
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/cpia2/cpia2_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <linux/slab.h>
#include <linux/vmalloc.h>

//#define _CPIA2_DEBUG_
/* #define _CPIA2_DEBUG_ */

#include "cpia2patch.h"

Expand All @@ -48,7 +48,7 @@ static const char *block_name[] = {
};
#endif

static unsigned int debugs_on = 0;//DEBUG_REG;
static unsigned int debugs_on; /* default 0 - DEBUG_REG */


/******************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/cpia2/cpia2_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static struct usb_driver cpia2_driver = {
*****************************************************************************/
static void process_frame(struct camera_data *cam)
{
static int frame_count = 0;
static int frame_count;

unsigned char *inbuff = cam->workbuff->data;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/cx23885/cx23885-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static unsigned int i2c_debug;
module_param(i2c_debug, int, 0644);
MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]");

static unsigned int i2c_scan = 0;
static unsigned int i2c_scan;
module_param(i2c_scan, int, 0444);
MODULE_PARM_DESC(i2c_scan, "scan i2c bus at insmod time");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/cx88/cx88-blackbird.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static unsigned int mpegbufs = 32;
module_param(mpegbufs,int,0644);
MODULE_PARM_DESC(mpegbufs,"number of mpeg buffers, range 2-32");

static unsigned int debug = 0;
static unsigned int debug;
module_param(debug,int,0644);
MODULE_PARM_DESC(debug,"enable debug messages [blackbird]");

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/cx88/cx88-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ MODULE_LICENSE("GPL");

/* ------------------------------------------------------------------ */

static unsigned int core_debug = 0;
static unsigned int core_debug;
module_param(core_debug,int,0644);
MODULE_PARM_DESC(core_debug,"enable debug messages [core]");

static unsigned int nicam = 0;
static unsigned int nicam;
module_param(nicam,int,0644);
MODULE_PARM_DESC(nicam,"tv audio is nicam");

static unsigned int nocomb = 0;
static unsigned int nocomb;
module_param(nocomb,int,0644);
MODULE_PARM_DESC(nocomb,"disable comb filter");

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/cx88/cx88-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ MODULE_AUTHOR("Chris Pascoe <c.pascoe@itee.uq.edu.au>");
MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
MODULE_LICENSE("GPL");

static unsigned int debug = 0;
static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"enable debug messages [dvb]");

Expand Down
Loading

0 comments on commit d8bcf7c

Please sign in to comment.