diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-17 15:05:04 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-23 21:27:40 +0000 |
commit | 2ad076f8a02c8a3165a76dfb093cefd79fdbfc67 (patch) | |
tree | 13f9d0505f564f07c9867aabf11b7083613666d4 /board/spring | |
parent | 8cf03ac0563294fbdeca2dc133d06f0b51c9a546 (diff) | |
download | chrome-ec-2ad076f8a02c8a3165a76dfb093cefd79fdbfc67.tar.gz |
cleanup: Rename and move header files
Device-specific headers belong in driver/ or chip/. The include/
directory should be for common interfaces.
Code should not normally need to include driver-specific headers. If
it does, it should use the full relative path from the EC project root
(for example, drivers/charger/bq24715.h).
Change-Id: Id23db37a431e2d802a74ec601db6f69b613352ba
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/173746
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/spring')
-rw-r--r-- | board/spring/board.c | 2 | ||||
-rw-r--r-- | board/spring/led.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/spring/board.c b/board/spring/board.c index 30269b27d8..51447737f5 100644 --- a/board/spring/board.c +++ b/board/spring/board.c @@ -5,6 +5,7 @@ /* Spring board-specific configuration */ #include "adc.h" +#include "adc_chip.h" #include "board_config.h" #include "chipset.h" #include "common.h" @@ -20,7 +21,6 @@ #include "pwm.h" #include "pwm_data.h" #include "registers.h" -#include "stm32_adc.h" #include "timer.h" #include "util.h" diff --git a/board/spring/led.c b/board/spring/led.c index a793afda33..4338911237 100644 --- a/board/spring/led.c +++ b/board/spring/led.c @@ -7,10 +7,10 @@ #include "battery.h" #include "common.h" +#include "driver/led/lp5562.h" #include "extpower.h" #include "hooks.h" #include "host_command.h" -#include "lp5562.h" #include "pmu_tpschrome.h" #include "timer.h" #include "util.h" |