baylibre-acme: Move enum channel_type to protocol.c.
This enum is private and only used within protocol.c. Don't expose it in protocol.h. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
ad6181e25e
commit
133016f6ab
|
@ -26,6 +26,14 @@
|
|||
#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;
|
||||
|
|
|
@ -49,14 +49,6 @@ enum 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;
|
||||
|
|
Loading…
Reference in New Issue