diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-02-25 01:09:27 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-25 01:09:27 -0800 |
| commit | 8f0acd2665ff73b990d1e72aa8b95e9472b25578 (patch) | |
| tree | 167cff861c2e90bb63a3fb0c0e628455d0dd61b4 /include/linux | |
| parent | 44ab13e7e1cba45eba3b70d7ad811f21aa9e36d3 (diff) | |
| parent | 473bc7a3245795bc3a6b834196b8c4f8078c37d5 (diff) | |
Merge "regulator: qpnp-labibb: Add support for notifier callback"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/regulator/qpnp-labibb-regulator.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/regulator/qpnp-labibb-regulator.h b/include/linux/regulator/qpnp-labibb-regulator.h new file mode 100644 index 000000000000..247069507fd9 --- /dev/null +++ b/include/linux/regulator/qpnp-labibb-regulator.h @@ -0,0 +1,23 @@ +/* Copyright (c) 2017 The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _QPNP_LABIBB_REGULATOR_H +#define _QPNP_LABIBB_REGULATOR_H + +enum labibb_notify_event { + LAB_VREG_OK = 1, +}; + +int qpnp_labibb_notifier_register(struct notifier_block *nb); +int qpnp_labibb_notifier_unregister(struct notifier_block *nb); + +#endif |
