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:
Bartosz Golaszewski 2015-09-16 10:55:42 +02:00 committed by Uwe Hermann
parent ad6181e25e
commit 133016f6ab
2 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;