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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jiri Slaby 2007-04-23 14:41:20 -07:00 committed by Linus Torvalds
parent 9b7f375505
commit 98f85d30ce
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,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;
@ -1380,7 +1380,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;