summaryrefslogtreecommitdiffstats
path: root/Documentation/media/conf_nitpick.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-29 21:09:16 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 14:29:23 +0200
commit730fbf2a096054e95a84dde12532bd799809a229 (patch)
treecca581d6d0b3201b8a99118f047b13dfde11473d /Documentation/media/conf_nitpick.py
parent[media] docs-rst: improve the kAPI documentation for the mediactl (diff)
downloadlinux-730fbf2a096054e95a84dde12532bd799809a229.tar.xz
linux-730fbf2a096054e95a84dde12532bd799809a229.zip
[media] conf_nitpick.py: ignore external functions used on mediactl
There are some functions/macros used by the mediactl documentation that are alien to the media subsystem. Ignore them. After this patch, the media core will only complain about this static function: Documentation/media/kapi/mc-core.rst:97: WARNING: c:func reference target not found: media_devnode_release Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/conf_nitpick.py')
-rw-r--r--Documentation/media/conf_nitpick.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/media/conf_nitpick.py b/Documentation/media/conf_nitpick.py
index 4de9533ce361..1c7928abace5 100644
--- a/Documentation/media/conf_nitpick.py
+++ b/Documentation/media/conf_nitpick.py
@@ -28,6 +28,7 @@ nitpick_ignore = [
("c:func", "i2c_new_device"),
("c:func", "ioctl"),
("c:func", "IS_ERR"),
+ ("c:func", "KERNEL_VERSION"),
("c:func", "mmap"),
("c:func", "open"),
("c:func", "pci_name"),
@@ -66,6 +67,7 @@ nitpick_ignore = [
("c:type", "off_t"),
("c:type", "pci_dev"),
("c:type", "pdvbdev"),
+ ("c:type", "platform_device"),
("c:type", "pollfd"),
("c:type", "poll_table_struct"),
("c:type", "s32"),
@@ -93,5 +95,6 @@ nitpick_ignore = [
("c:type", "union"),
("c:type", "__user"),
("c:type", "usb_device"),
+ ("c:type", "usb_interface"),
("c:type", "video_system_t"),
]