docs: infrastructure.rst: exclude device_link_state from device.h

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>
This commit is contained in:
Mauro Carvalho Chehab 2020-10-05 11:03:49 +02:00
parent 14059a38a4
commit f41f716dc3

View File

@ -6,6 +6,7 @@ The Basic Device Driver-Model Structures
.. kernel-doc:: include/linux/device.h .. kernel-doc:: include/linux/device.h
:internal: :internal:
:no-identifiers: device_link_state
Device Drivers Base Device Drivers Base
------------------- -------------------