Commit 3aa54d16 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Bjorn Helgaas
Browse files

PCI/pwrctrl: Fix the kerneldoc tag for private fields



The correct tag for marking private fields in kerneldoc is "private:", not
capitalized "Private:". Fix the pwrctl struct to silence the following
warnings:

  Warning: include/linux/pci-pwrctrl.h:45 struct member 'nb' not described in 'pci_pwrctrl'
  Warning: include/linux/pci-pwrctrl.h:45 struct member 'link' not described in 'pci_pwrctrl'
  Warning: include/linux/pci-pwrctrl.h:45 struct member 'work' not described in 'pci_pwrctrl'

Fixes: 4565d265 ("PCI/pwrctl: Add PCI power control core code")
Reported-by: default avatarBjorn Helgaas <helgaas@kernel.org>
Closes: https://lore.kernel.org/all/20250617233539.GA1177120@bhelgaas/


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250618091129.44810-1-brgl@bgdev.pl
parent 66db1d3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ struct device_link;
struct pci_pwrctrl {
	struct device *dev;

	/* Private: don't use. */
	/* private: internal use only */
	struct notifier_block nb;
	struct device_link *link;
	struct work_struct work;