All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: gregkh@linuxfoundation.org
Cc: neil@brown.name, driverdev-devel@linuxdriverproject.org
Subject: [PATCH v2 3/7] staging: mt7621-gpio: make use of 'builtin_platform_driver'
Date: Mon, 11 Jun 2018 07:17:44 +0200	[thread overview]
Message-ID: <1528694268-5708-4-git-send-email-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <1528694268-5708-1-git-send-email-sergio.paracuellos@gmail.com>

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>
---
 drivers/staging/mt7621-gpio/gpio-mt7621.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c
index f95310c..6a31f60 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);
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2018-06-11  5:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11  5:17 [PATCH v2 0/7] staging: mt7621-gpio: last cleanups Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 1/7] staging: mt7621-gpio: make use 'bgpio_init' from GPIO_GENERIC Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 2/7] staging: mt7621-gpio: avoid including 'gpio.h' Sergio Paracuellos
2018-06-11  5:17 ` Sergio Paracuellos [this message]
2018-06-11  5:17 ` [PATCH v2 4/7] staging: mt7621-gpio: implement '.irq_[request|release]_resources' functions Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 5/7] staging: mt7621-gpio: add COMPILE_TEST Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 6/7] staging: mt7621-gpio: add kerneldoc for state data containers Sergio Paracuellos
2018-06-11  5:17 ` [PATCH v2 7/7] staging: mt7621-gpio: implement high level and low level irqs Sergio Paracuellos
2018-06-11  7:12   ` NeilBrown
2018-06-11  8:33 ` [PATCH v2 0/7] staging: mt7621-gpio: last cleanups NeilBrown
2018-06-11 13:42   ` Sergio Paracuellos
2018-06-12  2:01     ` NeilBrown
2018-06-12  7:17       ` Sergio Paracuellos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528694268-5708-4-git-send-email-sergio.paracuellos@gmail.com \
    --to=sergio.paracuellos@gmail.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=neil@brown.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.