Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223568
b: refs/heads/master
c: 635f76b
h: refs/heads/master
v: v3
  • Loading branch information
Paul Bender authored and Mauro Carvalho Chehab committed Dec 20, 2010
1 parent ed15cb6 commit 8f5f3cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 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: 1338c925a95cf2b95909d7967b4ebddefa255c02
refs/heads/master: 635f76b2aa8ef3e8436dedddc8baa6f7f438dc40
7 changes: 5 additions & 2 deletions trunk/drivers/media/IR/mceusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/ir-core.h>
#include <media/ir-common.h>

#define DRIVER_VERSION "1.91"
#define DRIVER_AUTHOR "Jarod Wilson <jarod@wilsonet.com>"
Expand Down Expand Up @@ -1079,6 +1079,9 @@ static struct input_dev *mceusb_init_input_dev(struct mceusb_dev *ir)

ir->props = props;

usb_to_input_id(ir->usbdev, &idev->id);
idev->dev.parent = ir->dev;

if (mceusb_model[ir->model].rc_map)
rc_map = mceusb_model[ir->model].rc_map;

Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/media/IR/streamzap.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/ir-core.h>

#define DRIVER_VERSION "1.61"
Expand Down Expand Up @@ -332,6 +333,9 @@ static struct input_dev *streamzap_init_input_dev(struct streamzap_ir *sz)

sz->props = props;

usb_to_input_id(sz->usbdev, &idev->id);
idev->dev.parent = sz->dev;

ret = ir_input_register(idev, RC_MAP_STREAMZAP, props, DRIVER_NAME);
if (ret < 0) {
dev_err(dev, "remote input device register failed\n");
Expand Down

0 comments on commit 8f5f3cd

Please sign in to comment.