From 685c45ef46efe4a3e0b099ce43dddc65bbe2f672 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 24 Oct 2013 09:46:34 -0700 Subject: cleanup: comments in adc modules No code changes, other than renaming a couple of static functions. BUG=none BRANCH=none TEST=build falco Change-Id: I29b835d273aa1aba66d9d40536eae2eb12207f66 Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/174530 --- include/adc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/adc.h') diff --git a/include/adc.h b/include/adc.h index 8c5dda02d5..3ff88b77f9 100644 --- a/include/adc.h +++ b/include/adc.h @@ -10,7 +10,13 @@ #include "common.h" -#define ADC_READ_ERROR -1 +#define ADC_READ_ERROR -1 /* Value returned by adc_read_channel() on error */ + +/* + * Boards which use the ADC interface must provide enum adc_channel in the + * board.h file. See chip/$CHIP/adc_chip.h for additional chip-specific + * requirements. + */ /** * Read an ADC channel. -- cgit v1.2.1