removed unused #include <version.h>'s
Quoted 10 lines · Huang Weiyi
Removed unused #include <version.h>'s in files below,
drivers/media/video/cs5345.cdrivers/media/video/pwc/pwc-if.cdrivers/media/video/saa717x.cdrivers/media/video/upd64031a.cdrivers/media/video/upd64083.cdrivers/media/video/uvc/uvc_ctrl.cdrivers/media/video/uvc/uvc_driver.cdrivers/media/video/uvc/uvc_queue.cdrivers/media/video/uvc/uvc_video.c
You can remove it from drivers/media/video/uvc/uvc_status.c as well.
Mauro, the #include <linux/version.h> are required for backward compatibility in the Mercurial tree, but are not needed (except in uvc_v4l2.c) in the mainline git kernel tree. Can that be handled by your Mercurial -> git export scripts ?
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 12 lines · Laurent Pinchart
Quoted 10 lines · Huang Weiyi
Removed unused #include <version.h>'s in files below,
drivers/media/video/cs5345.cdrivers/media/video/pwc/pwc-if.cdrivers/media/video/saa717x.cdrivers/media/video/upd64031a.cdrivers/media/video/upd64083.cdrivers/media/video/uvc/uvc_ctrl.cdrivers/media/video/uvc/uvc_driver.cdrivers/media/video/uvc/uvc_queue.cdrivers/media/video/uvc/uvc_video.c
Quoted 6 lines
You can remove it from
drivers/media/video/uvc/uvc_status.cas well.Mauro, the #include <
linux/version.h> are required for backward compatibility in the Mercurial tree, but are not needed (except inuvc_v4l2.c) in the mainline git kernel tree. Can that be handled by your Mercurial -> git export scripts ?
The version.h includes should not be needed for backward compatibility in the Hg tree. There was always a problem with version.h appearing to not be necessary in the git code, so I modified the v4l-dvb build system to add version.h with a gcc -include option.
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 20 lines · On Sun, 4 Jan 2009 12:25:43 -0800 (PST) Trent Piepho <[email protected]>…
Quoted 12 lines · Laurent Pinchart
Quoted 10 lines · Huang Weiyi
Removed unused #include <version.h>'s in files below,
drivers/media/video/cs5345.cdrivers/media/video/pwc/pwc-if.cdrivers/media/video/saa717x.cdrivers/media/video/upd64031a.cdrivers/media/video/upd64083.cdrivers/media/video/uvc/uvc_ctrl.cdrivers/media/video/uvc/uvc_driver.cdrivers/media/video/uvc/uvc_queue.cdrivers/media/video/uvc/uvc_video.cQuoted 6 lines
You can remove it from
drivers/media/video/uvc/uvc_status.cas well.Mauro, the #include <
linux/version.h> are required for backward compatibility in the Mercurial tree, but are not needed (except inuvc_v4l2.c) in the mainline git kernel tree. Can that be handled by your Mercurial -> git export scripts ?
Quoted 4 lines
The
version.hincludes should not be needed for backward compatibility in the Hg tree. There was always a problem withversion.happearing to not be necessary in the git code, so I modified the v4l-dvb build system to addversion.hwith a gcc -include option.
Yes. You just need to add version.h at the file where the V4L2 API is implemented (due to VIDIOC_QUERYCTL).
Cheers,
Mauro
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 20 lines · Trent Piepho
Quoted 12 lines · Laurent Pinchart
Quoted 10 lines · Huang Weiyi
Removed unused #include <version.h>'s in files below,
drivers/media/video/cs5345.cdrivers/media/video/pwc/pwc-if.cdrivers/media/video/saa717x.cdrivers/media/video/upd64031a.cdrivers/media/video/upd64083.cdrivers/media/video/uvc/uvc_ctrl.cdrivers/media/video/uvc/uvc_driver.cdrivers/media/video/uvc/uvc_queue.cdrivers/media/video/uvc/uvc_video.cQuoted 6 lines
You can remove it from
drivers/media/video/uvc/uvc_status.cas well.Mauro, the #include <
linux/version.h> are required for backward compatibility in the Mercurial tree, but are not needed (except inuvc_v4l2.c) in the mainline git kernel tree. Can that be handled by your Mercurial -> git export scripts ?
Quoted 4 lines
The
version.hincludes should not be needed for backward compatibility in the Hg tree. There was always a problem withversion.happearing to not be necessary in the git code, so I modified the v4l-dvb build system to addversion.hwith a gcc -include option.
Thanks for the information.
Huang, can you please resubmit a patch with #include <linux/version.h> removed from drivers/media/video/uvc/uvc_status.c as well ?
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list