This enum is private and only used within protocol.c. Don't expose it
in protocol.h.
Signed-off-by: Bartosz Golaszewski <redacted>
#include "protocol.h"
#include "gpio.h"
+enum channel_type {
+ ENRG_PWR = 1,
+ ENRG_CURR,
+ ENRG_VOL,
+ TEMP_IN,
+ TEMP_OUT,
+};
+
struct channel_group_priv {
int hwmon_num;
int probe_type;
PROBE_TEMP,
};
-enum channel_type {
- ENRG_PWR = 1,
- ENRG_CURR,
- ENRG_VOL,
- TEMP_IN,
- TEMP_OUT,
-};
-
/** Private, per-device-instance driver context. */
struct dev_context {
uint64_t samplerate;