* [PATCH next] 8390p: fix build breakage
@ 2009-04-24 9:25 Alexander Beregalov
2009-04-24 11:46 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-04-24 9:25 UTC (permalink / raw)
To: ormi.linux, David Miller, linux-next, netdev
Fix this build error caused by 362b76edb789
"8390p: Get rid of init_module/cleanup_module"
drivers/net/8390p.c:94:19: error: invalid suffix "p_init_module" on integer constant
drivers/net/8390p.c:94: error: expected identifier or '(' before numeric constant
drivers/net/8390p.c:99:20: error: invalid suffix "p_cleanup_module" on integer constant
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/net/8390p.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/8390p.c b/drivers/net/8390p.c
index cacdd86..d225c29 100644
--- a/drivers/net/8390p.c
+++ b/drivers/net/8390p.c
@@ -91,15 +91,15 @@ void NS8390p_init(struct net_device *dev, int startp)
}
EXPORT_SYMBOL(NS8390p_init);
-static int __init 8390p_init_module(void)
+static int __init NS8390p_init_module(void)
{
return 0;
}
-static void __exit 8390p_cleanup_module(void)
+static void __exit NS8390p_cleanup_module(void)
{
}
-module_init(8390p_init_module);
-module_exit(8390p_cleanup_module);
+module_init(NS8390p_init_module);
+module_exit(NS8390p_cleanup_module);
MODULE_LICENSE("GPL");
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH next] 8390p: fix build breakage
2009-04-24 9:25 [PATCH next] 8390p: fix build breakage Alexander Beregalov
@ 2009-04-24 11:46 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-04-24 11:46 UTC (permalink / raw)
To: a.beregalov; +Cc: ormi.linux, linux-next, netdev
From: Alexander Beregalov <a.beregalov@gmail.com>
Date: Fri, 24 Apr 2009 13:25:50 +0400
> Fix this build error caused by 362b76edb789
> "8390p: Get rid of init_module/cleanup_module"
>
> drivers/net/8390p.c:94:19: error: invalid suffix "p_init_module" on integer constant
> drivers/net/8390p.c:94: error: expected identifier or '(' before numeric constant
> drivers/net/8390p.c:99:20: error: invalid suffix "p_cleanup_module" on integer constant
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
This is why I usually don't apply patches that the submitter
can't even send to the correct place to begin with. :-/
Applied, thanks Alexander.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-24 11:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-24 9:25 [PATCH next] 8390p: fix build breakage Alexander Beregalov
2009-04-24 11:46 ` David Miller
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).