From f3ad239a76f010a874777dc463d90882772fbff3 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 7 Jan 2012 22:39:14 +0000 Subject: cowond2's power-target.h -> rename in pmu-target.h other targets (ipod nano2g / classic) use that name for pmu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31618 a1c6a512-1295-4272-9138-f99709370657 --- .../target/arm/tcc780x/cowond2/backlight-cowond2.c | 2 +- firmware/target/arm/tcc780x/cowond2/pmu-target.h | 32 ++++++++++++++++++++++ .../target/arm/tcc780x/cowond2/power-cowond2.c | 2 +- firmware/target/arm/tcc780x/cowond2/power-target.h | 32 ---------------------- .../target/arm/tcc780x/cowond2/powermgmt-cowond2.c | 2 +- .../arm/tcc780x/cowond2/touchscreen-cowond2.c | 2 +- 6 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 firmware/target/arm/tcc780x/cowond2/pmu-target.h delete mode 100644 firmware/target/arm/tcc780x/cowond2/power-target.h (limited to 'firmware/target/arm/tcc780x') diff --git a/firmware/target/arm/tcc780x/cowond2/backlight-cowond2.c b/firmware/target/arm/tcc780x/cowond2/backlight-cowond2.c index d417687804..5668023f28 100644 --- a/firmware/target/arm/tcc780x/cowond2/backlight-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/backlight-cowond2.c @@ -24,7 +24,7 @@ #include "pcf50606.h" #include "pcf50635.h" #include "tcc780x.h" -#include "power-target.h" +#include "pmu-target.h" int _backlight_init(void) { diff --git a/firmware/target/arm/tcc780x/cowond2/pmu-target.h b/firmware/target/arm/tcc780x/cowond2/pmu-target.h new file mode 100644 index 0000000000..38288f38c8 --- /dev/null +++ b/firmware/target/arm/tcc780x/cowond2/pmu-target.h @@ -0,0 +1,32 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2009 Rob Purchase + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#ifndef _POWER_TARGET_H +#define _POWER_TARGET_H + +enum pmu_type +{ + PCF50606, + PCF50635 +}; + +enum pmu_type get_pmu_type(void); + +#endif /* _POWER_TARGET_H */ diff --git a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c index 02e0282ead..09787289ac 100644 --- a/firmware/target/arm/tcc780x/cowond2/power-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/power-cowond2.c @@ -29,7 +29,7 @@ #include "tuner.h" #include "backlight-target.h" #include "powermgmt.h" -#include "power-target.h" +#include "pmu-target.h" static enum pmu_type pmu; diff --git a/firmware/target/arm/tcc780x/cowond2/power-target.h b/firmware/target/arm/tcc780x/cowond2/power-target.h deleted file mode 100644 index 38288f38c8..0000000000 --- a/firmware/target/arm/tcc780x/cowond2/power-target.h +++ /dev/null @@ -1,32 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2009 Rob Purchase - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ -#ifndef _POWER_TARGET_H -#define _POWER_TARGET_H - -enum pmu_type -{ - PCF50606, - PCF50635 -}; - -enum pmu_type get_pmu_type(void); - -#endif /* _POWER_TARGET_H */ diff --git a/firmware/target/arm/tcc780x/cowond2/powermgmt-cowond2.c b/firmware/target/arm/tcc780x/cowond2/powermgmt-cowond2.c index 91361fe5f4..6c126b16e1 100644 --- a/firmware/target/arm/tcc780x/cowond2/powermgmt-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/powermgmt-cowond2.c @@ -23,7 +23,7 @@ #include "adc.h" #include "powermgmt.h" #include "kernel.h" -#include "power-target.h" +#include "pmu-target.h" #include "pcf50606.h" #include "pcf50635.h" diff --git a/firmware/target/arm/tcc780x/cowond2/touchscreen-cowond2.c b/firmware/target/arm/tcc780x/cowond2/touchscreen-cowond2.c index 1135d34701..4e6d9718a5 100644 --- a/firmware/target/arm/tcc780x/cowond2/touchscreen-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/touchscreen-cowond2.c @@ -25,7 +25,7 @@ #include "touchscreen.h" #include "touchscreen-target.h" #include "stdlib.h" -#include "power-target.h" +#include "pmu-target.h" #include "tsc200x.h" #define NO_OF_TOUCH_DATA 5 -- cgit