Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
Documentation/driver-api/infrastructure.rst
··· 6 6 7 7 .. kernel-doc:: include/linux/device.h 8 8 :internal: 9 + :no-identifiers: device_link_state 9 10 10 11 Device Drivers Base 11 12 -------------------