tty: serial: altera_jtaguart: Support getting mapbase and IRQ from resources
authorTobias Klauser <tklauser@distanz.ch>
Fri, 18 Feb 2011 15:38:39 +0000 (16:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Feb 2011 23:50:04 +0000 (15:50 -0800)
commit72af4762ee640b717a30761e27fc55126c686568
tree9a11c376eebd89d6e4838a41ee0bc2fdc668e7ec
parent3231f075070ac61ab7174a9a82bdc6d7b1de10bb
tty: serial: altera_jtaguart: Support getting mapbase and IRQ from resources

This will make it easier to get the driver to support device tree. The
old platform data method is still supported though.

Also change the driver to use only one platform device per port.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/altera_jtaguart.c