Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205952
b: refs/heads/master
c: c0cad1e
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Jul 22, 2010
1 parent e1ad8db commit 0cc7741
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1a38cad4c71bc08403b204fbe0ba98b4447f8bf
refs/heads/master: c0cad1e7b81bc9601866586af6dcd6fde8c908ef
7 changes: 5 additions & 2 deletions trunk/drivers/staging/batman-adv/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static struct packet_type batman_adv_packet_type __read_mostly = {

struct workqueue_struct *bat_event_workqueue;

int init_module(void)
static int __init batman_init(void)
{
int retval;

Expand Down Expand Up @@ -131,7 +131,7 @@ int init_module(void)
return -ENOMEM;
}

void cleanup_module(void)
static void __exit batman_exit(void)
{
deactivate_module();

Expand Down Expand Up @@ -273,6 +273,9 @@ int is_mcast(uint8_t *addr)
return *addr & 0x01;
}

module_init(batman_init);
module_exit(batman_exit);

MODULE_LICENSE("GPL");

MODULE_AUTHOR(DRIVER_AUTHOR);
Expand Down

0 comments on commit 0cc7741

Please sign in to comment.