mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
gpio: moxart: add missing .owner to struct gpio_chip
Add missing .owner of struct gpio_chip. This prevents the module from being removed from underneath its users. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
12262bef8f
commit
50d7c9c841
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ static struct gpio_chip moxart_template_chip = {
|
|||
.set = moxart_gpio_set,
|
||||
.get = moxart_gpio_get,
|
||||
.ngpio = 32,
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int moxart_gpio_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue