aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25840/cx25840-core.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-01-07 09:40:05 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-07 09:40:05 -0500
commit123656d4cc8c946f578ebd18c2050f5251720428 (patch)
tree3d5432eff034a3b9cfdc98b37e245abe5695342d /drivers/media/video/cx25840/cx25840-core.c
parenta62c80e559809e6c7851ec04d30575e85ad6f6ed (diff)
parent0aec63e67c69545ca757a73a66f5dcf05fa484bf (diff)
Merge with Linus' kernel.
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-core.c')
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index 5b93723a1768..3b09f46dddf6 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -773,7 +773,6 @@ static int cx25840_detect_client(struct i2c_adapter *adapter, int address,
773 client->addr = address; 773 client->addr = address;
774 client->adapter = adapter; 774 client->adapter = adapter;
775 client->driver = &i2c_driver_cx25840; 775 client->driver = &i2c_driver_cx25840;
776 client->flags = I2C_CLIENT_ALLOW_USE;
777 snprintf(client->name, sizeof(client->name) - 1, "cx25840"); 776 snprintf(client->name, sizeof(client->name) - 1, "cx25840");
778 777
779 cx25840_dbg("detecting cx25840 client on address 0x%x\n", address << 1); 778 cx25840_dbg("detecting cx25840 client on address 0x%x\n", address << 1);
@@ -844,15 +843,15 @@ static int cx25840_detach_client(struct i2c_client *client)
844/* ----------------------------------------------------------------------- */ 843/* ----------------------------------------------------------------------- */
845 844
846static struct i2c_driver i2c_driver_cx25840 = { 845static struct i2c_driver i2c_driver_cx25840 = {
847 .name = "cx25840", 846 .driver = {
847 .name = "cx25840",
848 },
848 849
849 .id = I2C_DRIVERID_CX25840, 850 .id = I2C_DRIVERID_CX25840,
850 .flags = I2C_DF_NOTIFY,
851 851
852 .attach_adapter = cx25840_attach_adapter, 852 .attach_adapter = cx25840_attach_adapter,
853 .detach_client = cx25840_detach_client, 853 .detach_client = cx25840_detach_client,
854 .command = cx25840_command, 854 .command = cx25840_command,
855 .owner = THIS_MODULE,
856}; 855};
857 856
858 857