X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Fdm-demo.h;h=03722d0c14dc14de253bc203185da4c59503cd99;hb=04e2cead60616a09ef5f45feae17c0aca0fa8b5f;hp=a24fec6658e8e9bb1df82235222befc404411b32;hpb=9a650bfec34c10baf673f9ab95f00dec7210e8c6;p=people%2Fms%2Fu-boot.git diff --git a/include/dm-demo.h b/include/dm-demo.h index a24fec6658..03722d0c14 100644 --- a/include/dm-demo.h +++ b/include/dm-demo.h @@ -25,10 +25,14 @@ struct dm_demo_pdata { struct demo_ops { int (*hello)(struct udevice *dev, int ch); int (*status)(struct udevice *dev, int *status); + int (*set_light)(struct udevice *dev, int light); + int (*get_light)(struct udevice *dev); }; int demo_hello(struct udevice *dev, int ch); int demo_status(struct udevice *dev, int *status); +int demo_set_light(struct udevice *dev, int light); +int demo_get_light(struct udevice *dev); int demo_list(void); int demo_parse_dt(struct udevice *dev);