Skip to content

Commit

Permalink
[POWERPC] init and exit markings for hvc_iseries
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jul 22, 2007
1 parent a6dfe1d commit 1ad528e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/char/hvc_iseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
HvLpEvent_Type_VirtualIo,
Expand All @@ -484,7 +484,7 @@ static int send_open(HvLpIndex remoteLp, void *sem)
0, 0, 0, 0);
}

static int hvc_vio_init(void)
static int __init hvc_vio_init(void)
{
atomic_t wait_flag;
int rc;
Expand Down Expand Up @@ -552,14 +552,14 @@ static int hvc_vio_init(void)
}
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);
}
module_exit(hvc_vio_exit);

/* the device tree order defines our numbering */
static int hvc_find_vtys(void)
static int __init hvc_find_vtys(void)
{
struct device_node *vty;
int num_found = 0;
Expand Down

0 comments on commit 1ad528e

Please sign in to comment.