Skip to content

Commit

Permalink
media: v4l: fix broken video4linux docs locations
Browse files Browse the repository at this point in the history
There are several places pointing to old documentation files:

  Documentation/video4linux/API.html
  Documentation/video4linux/bttv/
  Documentation/video4linux/cx2341x/fw-encoder-api.txt
  Documentation/video4linux/m5602.txt
  Documentation/video4linux/v4l2-framework.txt
  Documentation/video4linux/videobuf
  Documentation/video4linux/Zoran

Make them point to the new location where available, removing
otherwise.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
Mauro Carvalho Chehab committed Jun 15, 2018
1 parent 670d7ad commit 2ebe0bb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Chinese translated version of Documentation/video4linux/v4l2-framework.txt
Chinese translated version of Documentation/media/media_kapi.rst

If you have any comment or update to the content, please contact the
original document maintainer directly. However, if you have a problem
Expand All @@ -9,7 +9,7 @@ or if there is a problem with the translation.
Maintainer: Mauro Carvalho Chehab <mchehab@kernel.org>
Chinese maintainer: Fu Wei <tekkamanninja@gmail.com>
---------------------------------------------------------------------
Documentation/video4linux/v4l2-framework.txt 的中文翻译
Documentation/media/media_kapi.rst 的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
Expand Down Expand Up @@ -777,7 +777,7 @@ v4l2 核心 API 提供了一个处理视频缓冲的标准方法(称为“videob
线性 DMA(videobuf-dma-contig)以及大多用于 USB 设备的用 vmalloc
分配的缓冲(videobuf-vmalloc)。

请参阅 Documentation/video4linux/videobuf,以获得更多关于 videobuf
请参阅 Documentation/media/kapi/v4l2-videobuf.rst,以获得更多关于 videobuf
层的使用信息。

v4l2_fh 结构体
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/pci/bt8xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ config VIDEO_BT848
---help---
Support for BT848 based frame grabber/overlay boards. This includes
the Miro, Hauppauge and STB boards. Please read the material in
<file:Documentation/video4linux/bttv/> for more information.
<file:Documentation/media/v4l-drivers/bttv.rst> for more information.

To compile this driver as a module, choose M here: the
module will be called bttv.
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/pci/cx18/cx18-streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,15 +853,15 @@ int cx18_start_v4l2_encode_stream(struct cx18_stream *s)

/*
* Audio related reset according to
* Documentation/video4linux/cx2341x/fw-encoder-api.txt
* Documentation/media/v4l-drivers/cx2341x.rst
*/
if (atomic_read(&cx->ana_capturing) == 0)
cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 2,
s->handle, 12);

/*
* Number of lines for Field 1 & Field 2 according to
* Documentation/video4linux/cx2341x/fw-encoder-api.txt
* Documentation/media/v4l-drivers/cx2341x.rst
* Field 1 is 312 for 625 line systems in BT.656
* Field 2 is 313 for 625 line systems in BT.656
*/
Expand Down
10 changes: 5 additions & 5 deletions drivers/media/radio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ config RADIO_SI476X
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux 2 API. Information on
this API and pointers to "v4l2" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

To compile this driver as a module, choose M here: the
module will be called radio-si476x.
Expand Down Expand Up @@ -75,7 +75,7 @@ config RADIO_MAXIRADIO
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux API. Information on
this API and pointers to "v4l" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

To compile this driver as a module, choose M here: the
module will be called radio-maxiradio.
Expand All @@ -93,7 +93,7 @@ config RADIO_SHARK
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux API. Information on
this API and pointers to "v4l" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

To compile this driver as a module, choose M here: the
module will be called radio-shark.
Expand All @@ -110,7 +110,7 @@ config RADIO_SHARK2
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux API. Information on
this API and pointers to "v4l" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

To compile this driver as a module, choose M here: the
module will be called radio-shark2.
Expand Down Expand Up @@ -217,7 +217,7 @@ config RADIO_WL1273
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux 2 API. Information on
this API and pointers to "v4l2" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

To compile this driver as a module, choose M here: the
module will be called radio-wl1273.
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/radio/wl128x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ config RADIO_WL128X
In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux 2 API. Information on
this API and pointers to "v4l2" programs may be found at
<file:Documentation/video4linux/API.html>.
<file:Documentation/media/media_uapi.rst>.

endmenu
2 changes: 0 additions & 2 deletions drivers/media/usb/gspca/m5602/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ config USB_M5602
Say Y here if you want support for cameras based on the
ALi m5602 connected to various image sensors.

See <file:Documentation/video4linux/m5602.txt> for more info.

To compile this driver as a module, choose M here: the
module will be called gspca_m5602.
2 changes: 1 addition & 1 deletion drivers/staging/media/zoran/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ config VIDEO_ZORAN
36057/36067 PCI controller chipset. This includes the Iomega
Buz, Pinnacle DC10+ and the Linux Media Labs LML33. There is
a driver homepage at <http://mjpeg.sf.net/driver-zoran/>. For
more information, check <file:Documentation/video4linux/Zoran>.
more information, check <file:Documentation/media/v4l-drivers/zoran.rst>.

To compile this driver as a module, choose M here: the
module will be called zr36067.
Expand Down

0 comments on commit 2ebe0bb

Please sign in to comment.