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:
parent
7f68fefbbf
commit
98f0703bf2
@ -312,4 +312,4 @@ static struct platform_driver mediatek_gpio_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
module_platform_driver(mediatek_gpio_driver);
|
||||
builtin_platform_driver(mediatek_gpio_driver);
|
||||
|
Loading…
x
Reference in New Issue
Block a user