diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-07-21 10:33:11 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-22 07:30:59 -0400 |
commit | 1ad528ebfd1a32e33a7ade23a7e4eeb250ef64a7 (patch) | |
tree | 53ab96f2cc478c332ddc18acebf047b85f3aa688 /drivers/char/hvc_iseries.c | |
parent | a6dfe1dc074cc2218b2e32f67ce3a1ed4f89b200 (diff) |
[POWERPC] init and exit markings for hvc_iseries
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/hvc_iseries.c')
-rw-r--r-- | drivers/char/hvc_iseries.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/hvc_iseries.c b/drivers/char/hvc_iseries.c index b37f1d5a5be6..a08f8f981c11 100644 --- a/drivers/char/hvc_iseries.c +++ b/drivers/char/hvc_iseries.c | |||
@@ -472,7 +472,7 @@ static void hvc_handle_event(struct HvLpEvent *event) | |||
472 | } | 472 | } |
473 | } | 473 | } |
474 | 474 | ||
475 | static int send_open(HvLpIndex remoteLp, void *sem) | 475 | static int __init send_open(HvLpIndex remoteLp, void *sem) |
476 | { | 476 | { |
477 | return HvCallEvent_signalLpEventFast(remoteLp, | 477 | return HvCallEvent_signalLpEventFast(remoteLp, |
478 | HvLpEvent_Type_VirtualIo, | 478 | HvLpEvent_Type_VirtualIo, |
@@ -484,7 +484,7 @@ static int send_open(HvLpIndex remoteLp, void *sem) | |||
484 | 0, 0, 0, 0); | 484 | 0, 0, 0, 0); |
485 | } | 485 | } |
486 | 486 | ||
487 | static int hvc_vio_init(void) | 487 | static int __init hvc_vio_init(void) |
488 | { | 488 | { |
489 | atomic_t wait_flag; | 489 | atomic_t wait_flag; |
490 | int rc; | 490 | int rc; |
@@ -552,14 +552,14 @@ static int hvc_vio_init(void) | |||
552 | } | 552 | } |
553 | module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ | 553 | module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ |
554 | 554 | ||
555 | static void hvc_vio_exit(void) | 555 | static void __exit hvc_vio_exit(void) |
556 | { | 556 | { |
557 | vio_unregister_driver(&hvc_vio_driver); | 557 | vio_unregister_driver(&hvc_vio_driver); |
558 | } | 558 | } |
559 | module_exit(hvc_vio_exit); | 559 | module_exit(hvc_vio_exit); |
560 | 560 | ||
561 | /* the device tree order defines our numbering */ | 561 | /* the device tree order defines our numbering */ |
562 | static int hvc_find_vtys(void) | 562 | static int __init hvc_find_vtys(void) |
563 | { | 563 | { |
564 | struct device_node *vty; | 564 | struct device_node *vty; |
565 | int num_found = 0; | 565 | int num_found = 0; |