diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2007-01-27 20:39:09 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2007-01-27 20:39:09 +0000 |
commit | df8446a72b67bd31d6196bfeef8a2132cede8ea2 (patch) | |
tree | d2be76f72efc9085cb1d45f05269f0de312fc4f1 | |
parent | ec0a362ea29be4254f49da67c7154fb73fedd75d (diff) |
Oops - fix PortalPlayer builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12129 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/pcf50605.c | 6 | ||||
-rw-r--r-- | firmware/target/arm/wmcodec-pp.c | 7 |
2 files changed, 3 insertions, 10 deletions
diff --git a/firmware/drivers/pcf50605.c b/firmware/drivers/pcf50605.c index 61c52a14f5..0610f41aec 100644 --- a/firmware/drivers/pcf50605.c +++ b/firmware/drivers/pcf50605.c @@ -25,10 +25,8 @@ ****************************************************************************/ #include "system.h" #include "config.h" -#if CONFIG_I2C == I2C_PP5020 -#include "i2c-pp5020.h" -#elif CONFIG_I2C == I2C_PP5002 -#include "i2c-pp5002.h" +#if CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002 +#include "i2c-pp.h" #endif #include "rtc.h" diff --git a/firmware/target/arm/wmcodec-pp.c b/firmware/target/arm/wmcodec-pp.c index 471cd8f4a5..d3fbed433a 100644 --- a/firmware/target/arm/wmcodec-pp.c +++ b/firmware/target/arm/wmcodec-pp.c @@ -25,12 +25,7 @@ ****************************************************************************/ #include "system.h" - -#if CONFIG_CPU == PP5020 -#include "i2c-pp5020.h" -#elif CONFIG_CPU == PP5002 -#include "i2c-pp5002.h" -#endif +#include "i2c-pp.h" #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) /* The H10's audio codec uses an I2C address of 0x1b */ |