From c9a3419b9e40d08cd93a536c1282348498a35b99 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 31 Jul 2010 10:59:22 +0000 Subject: Add #include to power-ipod.c, make some variables static in storage.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27634 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/ipod/power-ipod.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/target/arm/ipod/power-ipod.c') diff --git a/firmware/target/arm/ipod/power-ipod.c b/firmware/target/arm/ipod/power-ipod.c index a82a18f699..ef594173f0 100644 --- a/firmware/target/arm/ipod/power-ipod.c +++ b/firmware/target/arm/ipod/power-ipod.c @@ -29,6 +29,9 @@ #include "usb.h" #include "lcd.h" #include "string.h" +#ifdef HAVE_USB_CHARGING_ENABLE +#include "usb_core.h" /* for usb_charging_maxcurrent_change */ +#endif void power_init(void) { -- cgit v1.2.3