summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-11 14:40:04 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-02-15 20:10:30 +0100
commit24c92537ccacb6aded2ba7a02144ddb2e9cf0d62 (patch)
tree47a111fafc12b9d3c18c09d3f02e9c8366d89522
parentx86/PCI: Get rid of custom x86 model comparison (diff)
downloadlinux-24c92537ccacb6aded2ba7a02144ddb2e9cf0d62.tar.xz
linux-24c92537ccacb6aded2ba7a02144ddb2e9cf0d62.zip
x86/PCI: Describe @reg for type1_access_ok()
Describe missed parameter in documentation of type1_access_ok(). Otherwise "make W=1 arch/x86/pci/" produces the following warning: CHECK arch/x86/pci/intel_mid_pci.c CC arch/x86/pci/intel_mid_pci.o arch/x86/pci/intel_mid_pci.c:152: warning: Function parameter or member 'reg' not described in 'type1_access_ok' Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--arch/x86/pci/intel_mid_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/pci/intel_mid_pci.c b/arch/x86/pci/intel_mid_pci.c
index 938a8b7bfe7f..8edd62206604 100644
--- a/arch/x86/pci/intel_mid_pci.c
+++ b/arch/x86/pci/intel_mid_pci.c
@@ -142,6 +142,7 @@ static int pci_device_update_fixed(struct pci_bus *bus, unsigned int devfn,
* type1_access_ok - check whether to use type 1
* @bus: bus number
* @devfn: device & function in question
+ * @reg: configuration register offset
*
* If the bus is on a Lincroft chip and it exists, or is not on a Lincroft at
* all, the we can go ahead with any reads & writes. If it's on a Lincroft,