summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h
index 7c7d38fc14..ffc0cbaf77 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -278,7 +278,7 @@ static inline struct device_d *add_ns16550_device(int id, resource_size_t start,
resource_size_t size, int flags, struct NS16550_plat *pdata)
{
return add_generic_device("ns16550_serial", id, NULL, start, size,
- IORESOURCE_MEM | flags, pdata);
+ flags, pdata);
}
#ifdef CONFIG_DRIVER_NET_DM9K