From: Sergio Paracuellos Date: Mon, 18 Jun 2018 09:36:05 +0000 (+0200) Subject: staging: mt7621-gpio: make use of 'builtin_platform_driver' X-Git-Tag: Ubuntu-5.10.0-12.13~7202^2~721 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=98f0703bf20a9c90df8f959ecd10775fd45ae2b1;p=mirror_ubuntu-hirsute-kernel.git staging: mt7621-gpio: make use of 'builtin_platform_driver' This driver was being registered using 'module_platform_driver' but it is not a module at all. Instead of this use 'builtin_platform_driver' which seems to be the correct one. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index f95310c230c1..6a31f60bdd12 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -312,4 +312,4 @@ static struct platform_driver mediatek_gpio_driver = { }, }; -module_platform_driver(mediatek_gpio_driver); +builtin_platform_driver(mediatek_gpio_driver);