* [PATCH] i2c: busses: xgene-slimpro: fix incorrect __init declation for probe
@ 2015-06-02 23:43 Feng Kan
[not found] ` <1433288589-10794-1-git-send-email-fkan-qTEPVZfXA3Y@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Feng Kan @ 2015-06-02 23:43 UTC (permalink / raw)
To: wsa-z923LK4zBo2bacvFa/9K2g, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
patches-qTEPVZfXA3Y
Cc: Feng Kan
Fix section mismatch error during kernel build for xgene_slimpro_i2c_probe
function. It was incorrectly defined with __init declaration.
Signed-off-by: Feng Kan <fkan-qTEPVZfXA3Y@public.gmane.org>
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c b/drivers/i2c/busses/i2c-xgene-slimpro.c
index 0b33aa2e..dcca707 100644
--- a/drivers/i2c/busses/i2c-xgene-slimpro.c
+++ b/drivers/i2c/busses/i2c-xgene-slimpro.c
@@ -377,7 +377,7 @@ static struct i2c_algorithm xgene_slimpro_i2c_algorithm = {
.functionality = xgene_slimpro_i2c_func,
};
-static int __init xgene_slimpro_i2c_probe(struct platform_device *pdev)
+static int xgene_slimpro_i2c_probe(struct platform_device *pdev)
{
struct slimpro_i2c_dev *ctx;
struct i2c_adapter *adapter;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: busses: xgene-slimpro: fix incorrect __init declation for probe
[not found] ` <1433288589-10794-1-git-send-email-fkan-qTEPVZfXA3Y@public.gmane.org>
@ 2015-06-10 13:18 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2015-06-10 13:18 UTC (permalink / raw)
To: Feng Kan; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, patches-qTEPVZfXA3Y
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
On Tue, Jun 02, 2015 at 04:43:09PM -0700, Feng Kan wrote:
> Fix section mismatch error during kernel build for xgene_slimpro_i2c_probe
> function. It was incorrectly defined with __init declaration.
>
> Signed-off-by: Feng Kan <fkan-qTEPVZfXA3Y@public.gmane.org>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-10 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02 23:43 [PATCH] i2c: busses: xgene-slimpro: fix incorrect __init declation for probe Feng Kan
[not found] ` <1433288589-10794-1-git-send-email-fkan-qTEPVZfXA3Y@public.gmane.org>
2015-06-10 13:18 ` Wolfram Sang
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).