X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdm-demo.h;h=a24fec6658e8e9bb1df82235222befc404411b32;hb=327def5060d03648801b8c92b3235b0c9426af47;hp=6e38d3c5b3a17dda60a2a934fc8ada4542e2e78b;hpb=32907339c2f533f1d59362c6100c6a0eeeca4837;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