docs: infrastructure.rst: exclude device_link_state from device.h
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 5 Oct 2020 09:03:49 +0000 (11:03 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:46 +0000 (07:49 +0200)
This is already documented at device_link.rst, causing this
warning, due to a broken cross-reference:

.../Documentation/driver-api/device_link.rst: WARNING: Duplicate C declaration, also defined in 'driver-api/infrastructure'.
Declaration is 'device_link_state'.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/driver-api/infrastructure.rst

index e38d79b..683bd46 100644 (file)
@@ -6,6 +6,7 @@ The Basic Device Driver-Model Structures
 
 .. kernel-doc:: include/linux/device.h
    :internal:
+   :no-identifiers: device_link_state
 
 Device Drivers Base
 -------------------