X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fi386%2Fkernel%2Fmca.c;h=720365e464aeab152e032fa6e151e5bb4c0683fd;hb=2c66a62d2d9e2315e6e748b96643f7f141c4d017;hp=a03d3681080593e733747f1c6dd65101e703fcff;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/arch/i386/kernel/mca.c b/arch/i386/kernel/mca.c index a03d36810..720365e46 100644 --- a/arch/i386/kernel/mca.c +++ b/arch/i386/kernel/mca.c @@ -258,16 +258,16 @@ static int __init mca_init(void) /* Make sure the MCA bus is present */ - if(!MCA_bus) - return -ENODEV; - - printk(KERN_INFO "Micro Channel bus detected.\n"); - - if(mca_system_init()) { + if (mca_system_init()) { printk(KERN_ERR "MCA bus system initialisation failed\n"); return -ENODEV; } + if (!MCA_bus) + return -ENODEV; + + printk(KERN_INFO "Micro Channel bus detected.\n"); + /* All MCA systems have at least a primary bus */ bus = mca_attach_bus(MCA_PRIMARY_BUS); if (!bus)