From 133016f6ab9fe8a360d5cfc13d0b6ac68cc14bcf Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 16 Sep 2015 10:55:42 +0200 Subject: [PATCH] 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 --- src/hardware/baylibre-acme/protocol.c | 8 ++++++++ src/hardware/baylibre-acme/protocol.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hardware/baylibre-acme/protocol.c b/src/hardware/baylibre-acme/protocol.c index d9131cb0..413a0576 100644 --- a/src/hardware/baylibre-acme/protocol.c +++ b/src/hardware/baylibre-acme/protocol.c @@ -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; diff --git a/src/hardware/baylibre-acme/protocol.h b/src/hardware/baylibre-acme/protocol.h index 9410e114..d0c9761d 100644 --- a/src/hardware/baylibre-acme/protocol.h +++ b/src/hardware/baylibre-acme/protocol.h @@ -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;