macide/q40ide: add missing __init tag to {macide,q40ide}_init()

Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent b48d0817
...@@ -81,7 +81,7 @@ int macide_ack_intr(ide_hwif_t* hwif) ...@@ -81,7 +81,7 @@ int macide_ack_intr(ide_hwif_t* hwif)
* Probe for a Macintosh IDE interface * Probe for a Macintosh IDE interface
*/ */
void macide_init(void) void __init macide_init(void)
{ {
hw_regs_t hw; hw_regs_t hw;
ide_hwif_t *hwif; ide_hwif_t *hwif;
......
...@@ -111,7 +111,7 @@ static const char *q40_ide_names[Q40IDE_NUM_HWIFS]={ ...@@ -111,7 +111,7 @@ static const char *q40_ide_names[Q40IDE_NUM_HWIFS]={
* Probe for Q40 IDE interfaces * Probe for Q40 IDE interfaces
*/ */
void q40ide_init(void) void __init q40ide_init(void)
{ {
int i; int i;
ide_hwif_t *hwif; ide_hwif_t *hwif;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment