[pvrusb2] New driver snapshot: pvrusb2-mci-20080831
David Gatwood
dgatwood at mac.com
Tue Oct 14 13:44:24 CDT 2008
On Oct 14, 2008, at 10:00 AM, pvrusb2-request at isely.net wrote:
>>
>> I looked at all the old messages and got the whole latest vrl-dvb
>> using mercurial.
>>
>> The patch works with some offsets for cx25840-core.c.
>>
>> The stuff that was patched in cx25840-vbi.c has been
>> moved into cx25840-core.c and looks like it is already changed.
>>
>> But, it will not compile with an error:
>>
>> /usr/src/v4l-dvb/v4l/cx25840-core.c: In function 'origin_v4lcrop':
>> /usr/src/v4l-dvb/v4l/cx25840-core.c:847: error: implicit declaration
>> of function 'cx25840_get_v4lstd'
>>
>> I'm afraid that is as far as I can go. I expect something was renamed
>> when stuff was moved, but
>> I don't know v4l-dvb nearly enough to figure out from what to what.
Looks like that function was removed because it is no longer needed.
Looking at a diff at:
http://198.182.196.72/kernel/v2.6/25-git18/drivers/media/video/cx25840/cx25840-core.c
Looks like the changes you need to make are to add this:
+ struct cx25840_state *state = i2c_get_clientdata(client);
and change your use of cx25840_get_v4lstd in the same way they changed
it here:
- *(v4l2_std_id *)arg = cx25840_get_v4lstd(client);
+ *(v4l2_std_id *)arg = state->std;
David
More information about the pvrusb2
mailing list