From: Jean Delvare <jdelvare@suse.de>
To: linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com
Cc: Hante Meuleman <meuleman@broadcom.com>,
Arend van Spriel <arend@broadcom.com>,
"John W. Linville" <linville@tuxdriver.com>
Subject: [PATCH] brcmfmac: Make probe function __init
Date: Thu, 13 Mar 2014 23:21:08 +0100 [thread overview]
Message-ID: <20140313232108.7e760e11@endymion.delvare> (raw)
One of the benefits of platform_driver_probe() is that you can make
the probe function __init.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Hante Meuleman <meuleman@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Cc: John W. Linville <linville@tuxdriver.com>
---
Build tested only, no hardware.
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-3.14-rc6.orig/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c 2014-02-09 16:53:04.065657732 +0100
+++ linux-3.14-rc6/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c 2014-03-13 19:46:25.083526576 +0100
@@ -1122,7 +1122,7 @@ static struct sdio_driver brcmf_sdmmc_dr
#endif /* CONFIG_PM_SLEEP */
};
-static int brcmf_sdio_pd_probe(struct platform_device *pdev)
+static int __init brcmf_sdio_pd_probe(struct platform_device *pdev)
{
brcmf_dbg(SDIO, "Enter\n");
--
Jean Delvare
SUSE L3 Support
reply other threads:[~2014-03-13 22:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20140313232108.7e760e11@endymion.delvare \
--to=jdelvare@suse.de \
--cc=arend@broadcom.com \
--cc=brcm80211-dev-list@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=meuleman@broadcom.com \
/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