diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-06-18 12:36:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 15:50:58 +0300 |
commit | 98f0703bf20a9c90df8f959ecd10775fd45ae2b1 (patch) | |
tree | e30cfc7b8def52c9f918674afc4d3595bab76488 | |
parent | 7f68fefbbf94a99b35db393b89b497cd8bae7ae3 (diff) | |
download | linux-98f0703bf20a9c90df8f959ecd10775fd45ae2b1.tar.xz |
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>
-rw-r--r-- | drivers/staging/mt7621-gpio/gpio-mt7621.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |