forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
kernel/drivers/regulator/internal.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * internal.h -- Voltage/Current Regulator framework internal code
34 *
....@@ -5,12 +6,6 @@
56 * Copyright 2008 SlimLogic Ltd.
67 *
78 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
8
- *
9
- * This program is free software; you can redistribute it and/or modify it
10
- * under the terms of the GNU General Public License as published by the
11
- * Free Software Foundation; either version 2 of the License, or (at your
12
- * option) any later version.
13
- *
149 */
1510
1611 #ifndef __REGULATOR_INTERNAL_H
....@@ -41,7 +36,10 @@
4136 struct list_head list;
4237 unsigned int always_on:1;
4338 unsigned int bypass:1;
39
+ unsigned int device_link:1;
4440 int uA_load;
41
+ unsigned int enable_count;
42
+ unsigned int deferred_disables;
4543 struct regulator_voltage voltage[REGULATOR_STATES_NUM];
4644 const char *supply_name;
4745 struct device_attribute dev_attr;