diff options
Diffstat (limited to 'v4l_experimental')
-rw-r--r-- | v4l_experimental/dpl3518.c | 10 | ||||
-rw-r--r-- | v4l_experimental/dpl3518.h | 2 | ||||
-rw-r--r-- | v4l_experimental/plx9054.h | 4 | ||||
-rw-r--r-- | v4l_experimental/rds-saa6588.c | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/v4l_experimental/dpl3518.c b/v4l_experimental/dpl3518.c index 5a730b7bd..c3442e35f 100644 --- a/v4l_experimental/dpl3518.c +++ b/v4l_experimental/dpl3518.c @@ -23,7 +23,7 @@ * USA. * * --- - * DOLBY and PRO LOGIC are trademarks of + * DOLBY and PRO LOGIC are trademarks of * Dolby Laboratories Licensing Corporation. */ @@ -243,7 +243,7 @@ static int dpl3518_attach(struct i2c_adapter *adap, int addr, client = kmalloc(sizeof *client,GFP_KERNEL); if (!client) - return -ENOMEM; + return -ENOMEM; memcpy(client,&client_template,sizeof(struct i2c_client)); client->adapter = adap; client->addr = addr; @@ -273,7 +273,7 @@ static int dpl3518_attach(struct i2c_adapter *adap, int addr, } static int dpl3518_probe(struct i2c_adapter *adap) -{ +{ return i2c_probe(adap, &addr_data, dpl3518_attach); } @@ -283,7 +283,7 @@ static int dpl3518_detach(struct i2c_client *client) dpl3518_reset(client); i2c_detach_client(client); - + dpl_device = NULL; kfree(dpl); kfree(client); @@ -371,7 +371,7 @@ static struct i2c_driver driver = { .detach_client = dpl3518_detach, }; -static struct i2c_client client_template = +static struct i2c_client client_template = { I2C_DEVNAME("dpl3518"), .id = -1, diff --git a/v4l_experimental/dpl3518.h b/v4l_experimental/dpl3518.h index d67a25648..c43fe8226 100644 --- a/v4l_experimental/dpl3518.h +++ b/v4l_experimental/dpl3518.h @@ -38,7 +38,7 @@ #define DPL_IOC_PANORAMA _IOW('d',11,int) /* 0 .. 100 % */ #define DPL_IOC_SPATIAL _IOW('d',12,int) /* 0 .. 100 % */ - + /* ---------------------------------------------------------------------- */ #endif /* DPL3518_H */ diff --git a/v4l_experimental/plx9054.h b/v4l_experimental/plx9054.h index 9a1c8783f..666236069 100644 --- a/v4l_experimental/plx9054.h +++ b/v4l_experimental/plx9054.h @@ -30,7 +30,7 @@ #define PRIOPITY_MASK 0x00180000 #define PRIORITY_DMA_0 0x00100000 -// +// #define PLX9054_BIGEND_LMISC_PROTAREA 0x0C #define PROT_AREA_SHIFT 16 #define PROT_AREA_MASK 0x007F0000 @@ -70,7 +70,7 @@ #define PLX9054_DMLBA1_OFFSET 0x24 #define PLX9054_PCI_BASE_ADR 0x28 -#define PLX9054_DMPBAM_OFFSET PLX9054_PCI_BASE_ADR +#define PLX9054_DMPBAM_OFFSET PLX9054_PCI_BASE_ADR #define LB_PCI_MEM_ENABLE 0x00000001 #define LB_PCI_IO_ENABLE 0x00000002 #define PCI_PREFETCH_SIZE_INF 0x00001008 diff --git a/v4l_experimental/rds-saa6588.c b/v4l_experimental/rds-saa6588.c index de4464a08..e8687067e 100644 --- a/v4l_experimental/rds-saa6588.c +++ b/v4l_experimental/rds-saa6588.c @@ -22,7 +22,7 @@ char rds_txt[65]; void rds_decode(int blkno,int b1, int b2) { static int group,spare,c1,c2; - + switch (blkno) { case 0: if (debug) @@ -77,7 +77,7 @@ main(int argc, char *argv[]) int c,f,rc, no, lastno = -1; unsigned char b[40]; char *device = "/dev/i2c-0"; - + /* parse options */ while (-1 != (c=getopt(argc,argv,"hvd:"))) { switch (c){ |