Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202148
b: refs/heads/master
c: 0f9313a
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 1733f2a commit c17077a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 12 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: 14f184e6d19855384ec6468d6894a6e48ed3f869
refs/heads/master: 0f9313ad068af4156109661fb8e94ee7fcb79001
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_bt829.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static struct pci_dev *do_pci_probe(void)
pci_addr_phys = 0;
if (my_dev->resource[0].flags & IORESOURCE_MEM) {
pci_addr_phys = my_dev->resource[0].start;
printk(KERN_INFO DRIVER_NAME ": memory at 0x%08X \n",
printk(KERN_INFO DRIVER_NAME ": memory at 0x%08X\n",
(unsigned int)pci_addr_phys);
}
if (pci_addr_phys == 0) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_imon.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ struct imon_context {
} tx;
};

static struct file_operations display_fops = {
static const struct file_operations display_fops = {
.owner = THIS_MODULE,
.open = &display_open,
.write = &vfd_write,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_it87.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ static void add_read_queue(int flag, unsigned long val)
}


static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.read = lirc_read,
.write = lirc_write,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_parallel.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ static int lirc_close(struct inode *node, struct file *filep)
return 0;
}

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.llseek = lirc_lseek,
.read = lirc_read,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_sasem.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct sasem_context {
};

/* VFD file operations */
static struct file_operations vfd_fops = {
static const struct file_operations vfd_fops = {
.owner = THIS_MODULE,
.open = &vfd_open,
.write = &vfd_write,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ static long lirc_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
return 0;
}

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.write = lirc_write,
.unlocked_ioctl = lirc_ioctl,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_sir.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static void add_read_queue(int flag, unsigned long val)
wake_up_interruptible(&lirc_read_queue);
}

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.read = lirc_read,
.write = lirc_write,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_streamzap.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ static void usb_streamzap_irq(struct urb *urb)
return;
}

static struct file_operations streamzap_fops = {
static const struct file_operations streamzap_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = streamzap_ioctl,
.read = lirc_dev_fop_read,
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/lirc/lirc_ttusbir.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ static void set_use_dec(void *data)
* still have about 14 samples per pulse/space, i.e. we sample with 14
* times higher frequency than the signal frequency
*/
const unsigned char map_table[] =
{
const unsigned char map_table[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/lirc/lirc_zilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ static struct i2c_driver driver = {
.id_table = ir_transceiver_id,
};

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
.owner = THIS_MODULE,
.llseek = lseek,
.read = read,
Expand Down

0 comments on commit c17077a

Please sign in to comment.