summaryrefslogtreecommitdiff
path: root/src/drivers/xpowers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:05:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:27:52 +0000
commitbd1683da29d5688f97fcc43bef3e0df74e4196f9 (patch)
tree0f124f816bcfc3c6a9fe6459a0c5df5997eddd52 /src/drivers/xpowers
parentb12ece98b09dd88634d93bcb41ca5c4cb9d86364 (diff)
src/{device,drivers}: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I3395715f9e2b03175089186ab2e57d9e508fc87c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32806 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/drivers/xpowers')
-rw-r--r--src/drivers/xpowers/axp209/axp209.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/drivers/xpowers/axp209/axp209.c b/src/drivers/xpowers/axp209/axp209.c
index da575ccffd..93e864dff7 100644
--- a/src/drivers/xpowers/axp209/axp209.c
+++ b/src/drivers/xpowers/axp209/axp209.c
@@ -8,12 +8,13 @@
* Subject to the GNU GPL v2, or (at your option) any later version.
*/
-#include "axp209.h"
-#include "chip.h"
-
#include <console/console.h>
#include <device/device.h>
#include <device/i2c_simple.h>
+#include <types.h>
+
+#include "axp209.h"
+#include "chip.h"
/* Hide these definitions from the rest of the source, so keep them here */
enum registers {