Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133425
b: refs/heads/master
c: c3ef01c
h: refs/heads/master
i:
  133423: 668bb09
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent a068f9e commit 21bdf49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 2ead054cd26752c7ce47dfbf320dd021ef70682d
refs/heads/master: c3ef01ce4f73f41e99b2a5f0796f1f1a1daaaaa2
3 changes: 2 additions & 1 deletion trunk/drivers/media/radio/radio-tea5764.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ static int vidioc_querycap(struct file *file, void *priv,

strlcpy(v->driver, dev->dev.driver->name, sizeof(v->driver));
strlcpy(v->card, dev->name, sizeof(v->card));
snprintf(v->bus_info, sizeof(v->bus_info), "I2C:%s", dev->dev.bus_id);
snprintf(v->bus_info, sizeof(v->bus_info),
"I2C:%s", dev_name(&dev->dev));
v->version = RADIO_VERSION;
v->capabilities = V4L2_CAP_TUNER | V4L2_CAP_RADIO;
return 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/v4l2-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev)
spin_lock_init(&v4l2_dev->lock);
v4l2_dev->dev = dev;
snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s %s",
dev->driver->name, dev->bus_id);
dev->driver->name, dev_name(dev));
dev_set_drvdata(dev, v4l2_dev);
return 0;
}
Expand Down

0 comments on commit 21bdf49

Please sign in to comment.