提交 1ad528eb 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] init and exit markings for hvc_iseries

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 a6dfe1dc
...@@ -472,7 +472,7 @@ static void hvc_handle_event(struct HvLpEvent *event) ...@@ -472,7 +472,7 @@ static void hvc_handle_event(struct HvLpEvent *event)
} }
} }
static int send_open(HvLpIndex remoteLp, void *sem) static int __init send_open(HvLpIndex remoteLp, void *sem)
{ {
return HvCallEvent_signalLpEventFast(remoteLp, return HvCallEvent_signalLpEventFast(remoteLp,
HvLpEvent_Type_VirtualIo, HvLpEvent_Type_VirtualIo,
...@@ -484,7 +484,7 @@ static int send_open(HvLpIndex remoteLp, void *sem) ...@@ -484,7 +484,7 @@ static int send_open(HvLpIndex remoteLp, void *sem)
0, 0, 0, 0); 0, 0, 0, 0);
} }
static int hvc_vio_init(void) static int __init hvc_vio_init(void)
{ {
atomic_t wait_flag; atomic_t wait_flag;
int rc; int rc;
...@@ -552,14 +552,14 @@ static int hvc_vio_init(void) ...@@ -552,14 +552,14 @@ static int hvc_vio_init(void)
} }
module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */ module_init(hvc_vio_init); /* after drivers/char/hvc_console.c */
static void hvc_vio_exit(void) static void __exit hvc_vio_exit(void)
{ {
vio_unregister_driver(&hvc_vio_driver); vio_unregister_driver(&hvc_vio_driver);
} }
module_exit(hvc_vio_exit); module_exit(hvc_vio_exit);
/* the device tree order defines our numbering */ /* the device tree order defines our numbering */
static int hvc_find_vtys(void) static int __init hvc_find_vtys(void)
{ {
struct device_node *vty; struct device_node *vty;
int num_found = 0; int num_found = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册