X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fdemo%2Fdemo-simple.c;h=f069748e051258ba4a11bab5a54240fad3edfda8;hb=d348a943e77ed72dd809cecf03365552545382b2;hp=6ba8131728dcf26cdd6ddbcf94c92ea2fa795ee8;hpb=e4b87e5b1d026bd010e2ba3abbf89561e8320287;p=oweals%2Fu-boot.git diff --git a/drivers/demo/demo-simple.c b/drivers/demo/demo-simple.c index 6ba8131728..f069748e05 100644 --- a/drivers/demo/demo-simple.c +++ b/drivers/demo/demo-simple.c @@ -10,9 +10,10 @@ #include #include #include +#include #include -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,13 +27,13 @@ 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); } -static const struct device_id demo_shape_id[] = { +static const struct udevice_id demo_shape_id[] = { { "demo-simple", 0 }, { }, };