diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-12-01 12:46:41 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-01-14 15:12:22 +0100 |
commit | ffe9d02e4152ab653652717a1907d0058b764d58 (patch) | |
tree | f8e83882ac72ea3e7e2118fadf249e02e76e70bc /drivers/char/agp | |
parent | 9175cb2c83c82fea9f234203ad3a02027372f929 (diff) | |
download | lwn-ffe9d02e4152ab653652717a1907d0058b764d58.tar.gz lwn-ffe9d02e4152ab653652717a1907d0058b764d58.zip |
agp: Documentation fixes
Fix compiler warnings
drivers/char/agp/backend.c:68: warning: Function parameter or member 'pdev' not described in 'agp_backend_acquire'
drivers/char/agp/backend.c:93: warning: Function parameter or member 'bridge' not described in 'agp_backend_release'
by adding the necessary documentation.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211201114645.15384-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/char/agp')
-rw-r--r-- | drivers/char/agp/backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c index 004a3ce8ba72..0e19c600db53 100644 --- a/drivers/char/agp/backend.c +++ b/drivers/char/agp/backend.c @@ -62,6 +62,7 @@ EXPORT_SYMBOL(agp_find_bridge); /** * agp_backend_acquire - attempt to acquire an agp backend. + * @pdev: the PCI device * */ struct agp_bridge_data *agp_backend_acquire(struct pci_dev *pdev) @@ -83,6 +84,7 @@ EXPORT_SYMBOL(agp_backend_acquire); /** * agp_backend_release - release the lock on the agp backend. + * @bridge: the AGP backend to release * * The caller must insure that the graphics aperture translation table * is read for use by another entity. |