On Tue, Aug 21, 2012 at 5:48 PM, Matthew Leach <matthew.leach@xxxxxxx> wrote: > If the order of UART nodes is changed in the device tree, then tty dev > devices are attached to different serial ports causing the console to > be directed to a different physical serial port. The "serial" aliases > in the device tree should prevent this. > > This patch ensures that the UART driver creates tty devices that > honour these aliases if a device tree is present. > > Acked-by: Rob Herring <rob.herring@xxxxxxxxxxx> > Signed-off-by: Matthew Leach <matthew.leach@xxxxxxx> > --- > v2: use IS_ENABLED instead of ifdefs Looks good to me. Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html