Skip to content

Commit

Permalink
8390p: fix build breakage
Browse files Browse the repository at this point in the history
Fix this build error caused by 362b76e
"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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexander Beregalov authored and David S. Miller committed Apr 24, 2009
1 parent d93fe1a commit ad8affd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/8390p.c
Original file line number Diff line number Diff line change
@@ -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");

0 comments on commit ad8affd

Please sign in to comment.