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 /chip/stm32 | |
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 'chip/stm32')
-rw-r--r-- | chip/stm32/adc-stm32f.c | 2 | ||||
-rw-r--r-- | chip/stm32/adc-stm32l.c | 2 | ||||
-rw-r--r-- | chip/stm32/adc_chip.h (renamed from chip/stm32/stm32_adc.h) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/adc-stm32f.c b/chip/stm32/adc-stm32f.c index 22032cfdb8..22d909a339 100644 --- a/chip/stm32/adc-stm32f.c +++ b/chip/stm32/adc-stm32f.c @@ -4,12 +4,12 @@ */ #include "adc.h" +#include "adc_chip.h" #include "common.h" #include "console.h" #include "dma.h" #include "hooks.h" #include "registers.h" -#include "stm32_adc.h" #include "task.h" #include "timer.h" #include "util.h" diff --git a/chip/stm32/adc-stm32l.c b/chip/stm32/adc-stm32l.c index 5b432ab9ae..2b7a789fde 100644 --- a/chip/stm32/adc-stm32l.c +++ b/chip/stm32/adc-stm32l.c @@ -4,13 +4,13 @@ */ #include "adc.h" +#include "adc_chip.h" #include "common.h" #include "console.h" #include "clock.h" #include "dma.h" #include "hooks.h" #include "registers.h" -#include "stm32_adc.h" #include "task.h" #include "timer.h" #include "util.h" diff --git a/chip/stm32/stm32_adc.h b/chip/stm32/adc_chip.h index 98141ea2d2..98141ea2d2 100644 --- a/chip/stm32/stm32_adc.h +++ b/chip/stm32/adc_chip.h |