aboutsummaryrefslogtreecommitdiff
path: root/drivers/demo/demo-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/demo/demo-simple.c')
-rw-r--r--drivers/demo/demo-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/demo/demo-simple.c b/drivers/demo/demo-simple.c
index 6ba813172..11def8603 100644
--- a/drivers/demo/demo-simple.c
+++ b/drivers/demo/demo-simple.c
@@ -12,7 +12,7 @@
#include <dm-demo.h>
#include <asm/io.h>
-static int simple_hello(struct device *dev, int ch)
+static int simple_hello(struct udevice *dev, int ch)
{
const struct dm_demo_pdata *pdata = dev_get_platdata(dev);
@@ -26,7 +26,7 @@ static const struct demo_ops simple_ops = {
.hello = simple_hello,
};
-static int demo_shape_ofdata_to_platdata(struct device *dev)
+static int demo_shape_ofdata_to_platdata(struct udevice *dev)
{
/* Parse the data that is common with all demo devices */
return demo_parse_dt(dev);