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 <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos 2018-06-18 11:36:05 +02:00 committed by Greg Kroah-Hartman
parent 7f68fefbbf
commit 98f0703bf2

View File

@ -312,4 +312,4 @@ static struct platform_driver mediatek_gpio_driver = {
},
};
module_platform_driver(mediatek_gpio_driver);
builtin_platform_driver(mediatek_gpio_driver);