aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-04-26 01:35:22 +0200
committerAdrian Bunk <bunk@stusta.de>2007-04-26 01:35:22 +0200
commit0ea2b4b19d3bc0d4075a4f176a9da5797be73304 (patch)
tree9a91b2e596e263e0bc7241090ac9737e24b0d62f
parent70272a6c174b13f764322d1ac8c43f10372f4b0c (diff)
Char: icom, mark __init as __devinit
Two functions are called from __devinit context, but they are marked as __init. Fix this. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--drivers/serial/icom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/icom.c b/drivers/serial/icom.c
index 144a7a352b2..760a3bcc536 100644
--- a/drivers/serial/icom.c
+++ b/drivers/serial/icom.c
@@ -166,7 +166,7 @@ static void free_port_memory(struct icom_port *icom_port)
}
}
-static int __init get_port_memory(struct icom_port *icom_port)
+static int __devinit get_port_memory(struct icom_port *icom_port)
{
int index;
unsigned long stgAddr;
@@ -1383,7 +1383,7 @@ static void icom_port_active(struct icom_port *icom_port, struct icom_adapter *i
0x8024 + 2 - 2 * (icom_port->port - 2);
}
}
-static int __init icom_load_ports(struct icom_adapter *icom_adapter)
+static int __devinit icom_load_ports(struct icom_adapter *icom_adapter)
{
struct icom_port *icom_port;
int port_num;