Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98f0703b authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

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: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f68fefb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -312,4 +312,4 @@ static struct platform_driver mediatek_gpio_driver = {
	},
};

module_platform_driver(mediatek_gpio_driver);
builtin_platform_driver(mediatek_gpio_driver);