summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-07-01 16:26:50 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-07-04 09:33:57 +0200
commitf99d479bcb78ecc0243f1fcc53d7081fa150d7eb (patch)
tree26af3fbe51ad996446b582ba2f1aeec4ccc26785 /include/linux/gpio
parent01f14c52591dd9028b93d0641136a34b388b773d (diff)
downloadlinux-f99d479bcb78ecc0243f1fcc53d7081fa150d7eb.tar.gz
linux-f99d479bcb78ecc0243f1fcc53d7081fa150d7eb.tar.bz2
linux-f99d479bcb78ecc0243f1fcc53d7081fa150d7eb.zip
gpiolib: Document new gpio_chip.init_valid_mask field
A new field init_valid_mask was added to struct gpio_chip, but it was not documented. Fixes: f8ec92a9f63b3b11 ("gpiolib: Add init_valid_mask exported function") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20190701142650.25122-1-geert+renesas@glider.be Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r--include/linux/gpio/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 5d325fd29d6b..8d58386aadd5 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -194,6 +194,8 @@ struct gpio_irq_chip {
* @dbg_show: optional routine to show contents in debugfs; default code
* will be used when this is omitted, but custom code can show extra
* state (such as pullup/pulldown configuration).
+ * @init_valid_mask: optional routine to initialize @valid_mask, to be used if
+ * not all GPIOs are valid.
* @base: identifies the first GPIO number handled by this chip;
* or, if negative during registration, requests dynamic ID allocation.
* DEPRECATION: providing anything non-negative and nailing the base