linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: pebolle@tiscali.nl (Paul Bolle)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 1/4] mailbox: add support for APM X-Gene platform mailbox driver
Date: Fri, 24 Apr 2015 10:25:12 +0200	[thread overview]
Message-ID: <1429863912.2927.43.camel@x220> (raw)
In-Reply-To: <1429741125-29156-2-git-send-email-fkan@apm.com>

On Wed, 2015-04-22 at 15:18 -0700, Feng Kan wrote:
> --- /dev/null
> +++ b/drivers/mailbox/mailbox-xgene-slimpro.c

> +static struct platform_driver slimpro_mbox_driver = {
> +	.probe	= slimpro_mbox_probe,
> +	.remove = slimpro_mbox_remove,
> +	.driver	= {
> +		.name = "xgene-slimpro-mbox",
> +		.owner = THIS_MODULE,
> +		.of_match_table = of_match_ptr(slimpro_of_match),
> +	},
> +};
> +
> +static int __init slimpro_mbox_init(void)
> +{
> +	return platform_driver_register(&slimpro_mbox_driver);
> +}
> +
> +subsys_initcall(slimpro_mbox_init);

After a quick scan of this driver you'd expect something like
    static void __exit slimpro_mbox_exit(void)
    {
	platform_driver_unregister(&slimpro_mbox_driver);
    }
    module_exit(slimpro_mbox_exit);

too here. At least, I do. Is there some non-obvious (to me) reason this
driver can't be unloaded if it is built as a module?

> +MODULE_DESCRIPTION("APM X-Gene SLIMpro Mailbox Driver");
> +MODULE_LICENSE("GPL");

Thanks,


Paul Bolle

  reply	other threads:[~2015-04-24  8:25 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 22:18 [PATCH V2 0/4] APM X-Gene Mailbox driver Feng Kan
2015-04-22 22:18 ` [PATCH V2 1/4] mailbox: add support for APM X-Gene platform mailbox driver Feng Kan
2015-04-24  8:25   ` Paul Bolle [this message]
2015-11-09 18:05     ` [PATCH v3 0/3] mailbox: Add " Duc Dang
2015-11-09 18:05       ` [PATCH v3 1/3] mailbox: Add support for " Duc Dang
2015-11-20 11:47         ` Jassi Brar
2015-12-07  9:29           ` Duc Dang
2016-01-16  2:57           ` [PATCH v4 0/3] mailbox: Add " Duc Dang
2016-01-16  2:57             ` [PATCH v4 1/3] mailbox: Add support for " Duc Dang
2016-01-16 12:31               ` kbuild test robot
2016-01-22 23:05                 ` Duc Dang
2016-02-01 19:38               ` Duc Dang
2016-02-02  5:14                 ` Jassi Brar
2016-02-08 22:04                   ` [PATCH v5 0/3] mailbox: Add " Duc Dang
2016-02-08 22:04                     ` [PATCH v5 1/3] mailbox: Add support for " Duc Dang
2016-02-09 16:40                       ` Mathieu Poirier
2016-02-10  3:46                         ` Duc Dang
2016-02-10 14:41                           ` Mathieu Poirier
2016-02-13  3:25                             ` Duc Dang
2016-02-13  3:39                             ` [PATCH v6 0/3] mailbox: Add " Duc Dang
2016-02-13  3:39                               ` [PATCH v6 1/3] mailbox: Add support for " Duc Dang
2016-02-13  3:39                               ` [PATCH v6 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Duc Dang
2016-02-13  3:39                               ` [PATCH v6 3/3] arm64: dts: mailbox device tree node for APM X-Gene platform Duc Dang
2016-02-25 22:33                                 ` Duc Dang
2016-02-19 20:43                               ` [PATCH v6 0/3] mailbox: Add APM X-Gene platform mailbox driver Duc Dang
2016-02-08 22:04                     ` [PATCH v5 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Duc Dang
2016-02-08 22:04                     ` [PATCH v5 3/3] arm64: dts: mailbox device tree node for APM X-Gene platform Duc Dang
2016-01-16  2:57             ` [PATCH v4 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Duc Dang
2016-01-17  0:13               ` Rob Herring
2016-01-19 23:53                 ` Duc Dang
2016-01-16  2:57             ` [PATCH v4 3/3] arm64: dts: mailbox device tree node for APM X-Gene platform Duc Dang
2015-11-09 18:05       ` [PATCH v3 2/3] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Duc Dang
2015-11-10 14:15         ` Rob Herring
2015-11-10 18:42           ` Duc Dang
2016-01-16  2:41           ` Duc Dang
2015-11-09 18:05       ` [PATCH v3 3/3] arm64: dts: mailbox device tree node for APM X-Gene platform Duc Dang
2015-11-16 19:22       ` [PATCH v3 0/3] mailbox: Add APM X-Gene platform mailbox driver Duc Dang
2015-11-20 10:39         ` Paul Bolle
2015-04-22 22:18 ` [PATCH V2 2/4] mailbox: xgene: add ACPI support for X-Gene " Feng Kan
2015-04-22 22:18 ` [PATCH V2 3/4] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation Feng Kan
2015-04-22 22:18 ` [PATCH V2 4/4] arm64: dts: mailbox device tree node for APM X-Gene platform Feng Kan

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=1429863912.2927.43.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).