docs: basics.rst: avoid duplicated C function declaration
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 29 Sep 2020 10:51:00 +0000 (12:51 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:45 +0000 (07:49 +0200)
commita57c3522e816ab25c11fac0820bedb07e4727bdf
treecba8b1265e35bd2c4c8752f6e755658b537893a3
parentccf1227313cf583cad2d47b043fc3bb90438f2ca
docs: basics.rst: avoid duplicated C function declaration

pci_device_id is already documented at pci.rst:

./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'PCI/pci'.
Declaration is 'pci_device_id'.

The kstrtol and kstrtoul are already at kernel-api:

./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/kernel-api'.
Declaration is 'kstrtoul'.
./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/kernel-api'.
Declaration is 'kstrtol'.

And the printk is already defined at printk-basics:

./Documentation/driver-api/basics.rst: WARNING: Duplicate C declaration, also defined in 'core-api/printk-basics'.
Declaration is 'printk'.

So, exclude those identifiers from basirs.rst.

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