diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-11-29 10:50:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:38 -0500 |
commit | 9357b31c6cbd3d1c279fb161b3bf179c53062365 (patch) | |
tree | a1dd550b2534c3528fd1522abb9131aa8c5daae2 /drivers/media/video/cx25840/cx25840-firmware.c | |
parent | 825c6aa2a874731fa5fbe96a9a0c8f2e27f6a0c0 (diff) |
V4L/DVB (9823): cx25840: convert to v4l2_subdev.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-firmware.c')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx25840/cx25840-firmware.c b/drivers/media/video/cx25840/cx25840-firmware.c index 8d489a4b9570..0b2dceb74108 100644 --- a/drivers/media/video/cx25840/cx25840-firmware.c +++ b/drivers/media/video/cx25840/cx25840-firmware.c | |||
@@ -91,7 +91,7 @@ static int fw_write(struct i2c_client *client, const u8 *data, int size) | |||
91 | 91 | ||
92 | int cx25840_loadfw(struct i2c_client *client) | 92 | int cx25840_loadfw(struct i2c_client *client) |
93 | { | 93 | { |
94 | struct cx25840_state *state = i2c_get_clientdata(client); | 94 | struct cx25840_state *state = to_state(i2c_get_clientdata(client)); |
95 | const struct firmware *fw = NULL; | 95 | const struct firmware *fw = NULL; |
96 | u8 buffer[FWSEND]; | 96 | u8 buffer[FWSEND]; |
97 | const u8 *ptr; | 97 | const u8 *ptr; |