提交 3f446a97 编写于 作者: R Randy Dunlap 提交者: Xie XiuQi

gpio: fix kernel-doc notation warning for 'request_key'

mainline inclusion
from mainline-4.20-rc1
commit 02ad0437decf2e5dba975c23b1a89775f4b211e1
category: bugfix
bugzilla: 5562
CVE: NA

---------------------------

Fix kernel-doc warning for missing struct member 'request_key':

../include/linux/gpio/driver.h:142: warning: Function parameter or member 'request_key' not described in 'gpio_irq_chip'

Fixes: 39c3fd58 ("kernel/irq: Extend lockdep class for request mutex")
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Reviewed-by: Nzhengbin <zhengbin13@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 0435096f
...@@ -66,9 +66,15 @@ struct gpio_irq_chip { ...@@ -66,9 +66,15 @@ struct gpio_irq_chip {
/** /**
* @lock_key: * @lock_key:
* *
* Per GPIO IRQ chip lockdep classes. * Per GPIO IRQ chip lockdep class for IRQ lock.
*/ */
struct lock_class_key *lock_key; struct lock_class_key *lock_key;
/**
* @request_key:
*
* Per GPIO IRQ chip lockdep class for IRQ request.
*/
struct lock_class_key *request_key; struct lock_class_key *request_key;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册