Home | History | Annotate | Download | only in include
      1 /* SPDX-License-Identifier: GPL-2.0+ */
      2 /*
      3  * Copyright (c) 2013 Google, Inc
      4  */
      5 
      6 #ifndef __pwrseq_h
      7 #define __pwrseq_h
      8 
      9 struct pwrseq_ops {
     10 	int (*set_power)(struct udevice *dev, bool enable);
     11 };
     12 
     13 #define pwrseq_get_ops(dev)	((struct pwrseq_ops *)(dev)->driver->ops)
     14 
     15 int pwrseq_set_power(struct udevice *dev, bool enable);
     16 
     17 #endif
     18