mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -312,4 +312,4 @@ static struct platform_driver mediatek_gpio_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
module_platform_driver(mediatek_gpio_driver);
|
||||
builtin_platform_driver(mediatek_gpio_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue