[...]
> > - iobus_register(&b->iobus);
> > + b->dev = kmalloc(sizeof(*(b->dev)),GFP_KERNEL);
> Uff... ~~~~~~~~~ would not "struct device" (or
> what should it be) look better?
Yep, but there is _no_ chance to screw up ("or what should it be" ;-) this
way.
-- Horst von Brand http://counter.li.org # 22616 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/