X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdm-demo.h;h=a24fec6658e8e9bb1df82235222befc404411b32;hb=effcf067df5f986b8f9a2ca5101c74495be700ab;hp=6e38d3c5b3a17dda60a2a934fc8ada4542e2e78b;hpb=39f7611fecc55cbde02c8a84f7c12861abe31b53;p=u-boot diff --git a/include/dm-demo.h b/include/dm-demo.h index 6e38d3c5b3..a24fec6658 100644 --- a/include/dm-demo.h +++ b/include/dm-demo.h @@ -23,14 +23,14 @@ struct dm_demo_pdata { }; struct demo_ops { - int (*hello)(struct device *dev, int ch); - int (*status)(struct device *dev, int *status); + int (*hello)(struct udevice *dev, int ch); + int (*status)(struct udevice *dev, int *status); }; -int demo_hello(struct device *dev, int ch); -int demo_status(struct device *dev, int *status); +int demo_hello(struct udevice *dev, int ch); +int demo_status(struct udevice *dev, int *status); int demo_list(void); -int demo_parse_dt(struct device *dev); +int demo_parse_dt(struct udevice *dev); #endif