]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: rdc321x: Prevent removal of modules exporting active GPIOs
authorAxel Lin <axel.lin@gmail.com>
Sat, 1 Sep 2012 06:11:22 +0000 (14:11 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 1 Sep 2012 10:52:24 +0000 (12:52 +0200)
commit3fcacfc24789f71669380ad04be8624018526574
tree100cf7b583b03032fc2ee091ab3c585e8b21d2e6
parent822cd5d01b18e1f5b89102daa88573ed055f1e81
gpio: rdc321x: Prevent removal of modules exporting active GPIOs

This driver can be built as a module, set the missing owner field of
struct gpio_chip to prevent removal of modules exporting active GPIOs.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rdc321x.c