X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fdemo%2Fdemo-uclass.c;fp=drivers%2Fdemo%2Fdemo-uclass.c;h=636fd8831f5d152310cdd8d7cee1ac7e33c8b492;hb=54c5d08a09e631f88738db54c75395c6457c2157;hp=48588be907444239ddff303f84a24847e67bbdeb;hpb=9665fa8f9e1488209d5e01d0792c243e0a220c5a;p=u-boot diff --git a/drivers/demo/demo-uclass.c b/drivers/demo/demo-uclass.c index 48588be907..636fd8831f 100644 --- a/drivers/demo/demo-uclass.c +++ b/drivers/demo/demo-uclass.c @@ -22,7 +22,7 @@ UCLASS_DRIVER(demo) = { .id = UCLASS_DEMO, }; -int demo_hello(struct device *dev, int ch) +int demo_hello(struct udevice *dev, int ch) { const struct demo_ops *ops = device_get_ops(dev); @@ -32,7 +32,7 @@ int demo_hello(struct device *dev, int ch) return ops->hello(dev, ch); } -int demo_status(struct device *dev, int *status) +int demo_status(struct udevice *dev, int *status) { const struct demo_ops *ops = device_get_ops(dev); @@ -42,7 +42,7 @@ int demo_status(struct device *dev, int *status) return ops->status(dev, status); } -int demo_parse_dt(struct device *dev) +int demo_parse_dt(struct udevice *dev) { struct dm_demo_pdata *pdata = dev_get_platdata(dev); int dn = dev->of_offset;