Re: pvrusb2 compile failure

From: Mike Isely
Date: Mon Apr 07 2008 - 09:14:55 EST


On Mon, 7 Apr 2008, Meelis Roos wrote:

> Got this in todays 2.6.25-rc8+git
>
> CC [M] drivers/media/video/pvrusb2/pvrusb2-devattr.o
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:178: error: unknown field 'flag_has_analogtuner' specified in initializer
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:179: error: unknown field 'flag_has_composite' specified in initializer
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:180: error: unknown field 'flag_has_svideo' specified in initializer
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:182: error: unknown field 'digital_control_scheme' specified in initializer
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:182: error: 'PVR2_DIGITAL_SCHEME_HAUPPAUGE' undeclared here (not in a function)
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:183: error: unknown field 'led_scheme' specified in initializer
> drivers/media/video/pvrusb2/pvrusb2-devattr.c:183: error: 'PVR2_LED_SCHEME_HAUPPAUGE' undeclared here (not in a function)
> make[4]: *** [drivers/media/video/pvrusb2/pvrusb2-devattr.o] Error 1

This was supposed to be a patch that added badly-needed USB IDs to the
driver (via insert into a devic attribute data table), however it had
been cherry-picked out of a more recent patch series for the driver
where those additional fields / identifiers had also been defined.
Mike Krufky last night fixed his patch and posted it.

-Mike

--

Mike Isely
isely @ pobox (dot) com
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/