]> 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)
commite42a5e9f862ed6940cf56c466ea310aa68ac1fe0
tree100cf7b583b03032fc2ee091ab3c585e8b21d2e6
parent83f37ea34592fcb8cfcd5cc68addedeb05eda858
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