summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/omap_devices.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-11-18 14:57:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-22 10:56:49 +0100
commit9ed42fa8668938f2362ef86ea5bccf67faaa1e47 (patch)
tree259532c02f8c3e1d00c5264cfe3c9e35848efeb1 /arch/arm/mach-omap/omap_devices.c
parentd4aa01503348a033b1057d8a66c20a4f5819e01f (diff)
downloadbarebox-9ed42fa8668938f2362ef86ea5bccf67faaa1e47.tar.gz
barebox-9ed42fa8668938f2362ef86ea5bccf67faaa1e47.tar.xz
serial: ns16550: Add device ids for omap
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap/omap_devices.c')
-rw-r--r--arch/arm/mach-omap/omap_devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap/omap_devices.c b/arch/arm/mach-omap/omap_devices.c
index 30cfdd06b6..9ed3dcf619 100644
--- a/arch/arm/mach-omap/omap_devices.c
+++ b/arch/arm/mach-omap/omap_devices.c
@@ -21,6 +21,6 @@ static struct NS16550_plat serial_plat = {
struct device_d *omap_add_uart(int id, unsigned long base)
{
- return add_ns16550_device(id, base, 1024,
- IORESOURCE_MEM_8BIT, &serial_plat);
+ return add_generic_device("omap-uart", id, NULL, base, 1024,
+ IORESOURCE_MEM | IORESOURCE_MEM_8BIT, &serial_plat);
}