diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2022-07-20 09:46:02 -0400 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-20 17:44:47 +0200 |
commit | 949506dc608f9820e0cee51b106c35fd3503bbb2 (patch) | |
tree | f793c1b27c0ed3c6c34a53c9dbbcee5a897f0d90 /drivers/gpio/Kconfig | |
parent | 3ce632fdd13abd23686c29e81a924d47365b2eca (diff) | |
download | lwn-949506dc608f9820e0cee51b106c35fd3503bbb2.tar.gz lwn-949506dc608f9820e0cee51b106c35fd3503bbb2.zip |
gpio: gpio-mm: Implement and utilize register structures
Reduce magic numbers and improve code readability by implementing and
utilizing named register data structures. The GPIO-MM device features an
Intel 8255 compatible GPIO interface, so the i8255 GPIO module is
selected and utilized as well.
Tested-by: Fred Eckert <Frede@cmslaser.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 8f1d4d56f0aa..0642f579196f 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -886,6 +886,7 @@ config GPIO_GPIO_MM tristate "Diamond Systems GPIO-MM GPIO support" depends on PC104 select ISA_BUS_API + select GPIO_I8255 help Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. |