summaryrefslogtreecommitdiff
path: root/drivers/char/xillybus/xillybus_of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/xillybus/xillybus_of.c')
-rw-r--r--drivers/char/xillybus/xillybus_of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/xillybus/xillybus_of.c b/drivers/char/xillybus/xillybus_of.c
index 1a20b286fd1d..4e6e0c19d8c8 100644
--- a/drivers/char/xillybus/xillybus_of.c
+++ b/drivers/char/xillybus/xillybus_of.c
@@ -120,7 +120,7 @@ static int xilly_drv_probe(struct platform_device *op)
if (of_property_read_bool(dev->of_node, "dma-coherent"))
ephw = &of_hw_coherent;
- endpoint = xillybus_init_endpoint(NULL, dev, ephw);
+ endpoint = xillybus_init_endpoint(dev, ephw);
if (!endpoint)
return -ENOMEM;