Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320648
b: refs/heads/master
c: c21813e
h: refs/heads/master
v: v3
  • Loading branch information
Ezequiel García authored and Mauro Carvalho Chehab committed Jul 30, 2012
1 parent 2d2dad2 commit f408d3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 23ba641a08a5cf1194cfba8480ecfab8b6623110
refs/heads/master: c21813e9746b174e4f426aa0fcb1a69c361a71b2
7 changes: 2 additions & 5 deletions trunk/drivers/media/video/cx25821/cx25821-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,8 @@ int cx25821_i2c_register(struct cx25821_i2c *bus)

dprintk(1, "%s(bus = %d)\n", __func__, bus->nr);

memcpy(&bus->i2c_adap, &cx25821_i2c_adap_template,
sizeof(bus->i2c_adap));
memcpy(&bus->i2c_client, &cx25821_i2c_client_template,
sizeof(bus->i2c_client));

bus->i2c_adap = cx25821_i2c_adap_template;
bus->i2c_client = cx25821_i2c_client_template;
bus->i2c_adap.dev.parent = &dev->pci->dev;

strlcpy(bus->i2c_adap.name, bus->dev->name, sizeof(bus->i2c_adap.name));
Expand Down

0 comments on commit f408d3b

Please sign in to comment.