Char: stallion, don't fail with less than max panels
[powerpc.git] / drivers / char / stallion.c
index e45113a..265abad 100644 (file)
@@ -2172,7 +2172,7 @@ static int __devinit stl_initech(struct stlbrd *brdp)
                }
                status = inb(ioaddr + ECH_PNLSTATUS);
                if ((status & ECH_PNLIDMASK) != nxtid)
-                       goto err_fr;
+                       break;
                panelp = kzalloc(sizeof(struct stlpanel), GFP_KERNEL);
                if (!panelp) {
                        printk("STALLION: failed to allocate memory "