]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
5fd6badb SG |
2 | /* |
3 | * Copyright (c) 2013 Google, Inc | |
5fd6badb SG |
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 |