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>
This commit is contained in:
Randall Spangler
2013-10-17 15:05:04 -07:00
committed by chrome-internal-fetch
parent 8cf03ac056
commit 2ad076f8a0
42 changed files with 54 additions and 62 deletions

View File

@@ -8,8 +8,8 @@
#include "battery_smart.h"
#include "common.h"
#include "console.h"
#include "driver/led/lp5562.h"
#include "host_command.h"
#include "lp5562.h"
#include "pmu_tpschrome.h"
#include "test_util.h"
#include "timer.h"

16
test/powerdemo.h Normal file
View File

@@ -0,0 +1,16 @@
/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Power state machine demo module for Chrome EC */
#ifndef __CROS_EC_POWERDEMO_H
#define __CROS_EC_POWERDEMO_H
#include "common.h"
/* Initializes the module. */
int power_demo_init(void);
#endif /* __CROS_EC_POWERDEMO_H */