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
This commit is contained in:
Bertrik Sikken 2010-07-31 10:59:22 +00:00
parent 028d91aa0c
commit c9a3419b9e
2 changed files with 5 additions and 2 deletions

View file

@ -40,8 +40,8 @@ static unsigned int num_drives;
#define STORAGE_MINIMUM_IDLE_TIME (HZ/10)
#define STORAGE_DELAY_UNIT (HZ/20)
unsigned int storage_last_thread[NUM_DRIVES];
unsigned int storage_last_activity[NUM_DRIVES];
static unsigned int storage_last_thread[NUM_DRIVES];
static unsigned int storage_last_activity[NUM_DRIVES];
static bool storage_should_wait(int drive, int prio)
{

View file

@ -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)
{