From 9e7f1e7f1a42fa0b76da3b6ddfc52bacf1067ebb Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 22 Sep 2009 00:01:42 +0800 Subject: [PATCH] remove the JZ_BAT_XXX_VOLTAGE define --- .../linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c index 55e69f486..18fd6b756 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c @@ -430,15 +430,13 @@ static struct platform_device jz_codec_device = { .resource = codec_resources, }; -#define JZ_BAT_MAX_VOLTAGE 4200000 -#define JZ_BAT_MIN_VOLTAGE 3600000 static struct jz_batt_info jz_batt_gpio_platform_data = { .dc_dect_gpio = GPIO_DC_DETE_N, .usb_dect_gpio = GPIO_USB_DETE, .charg_stat_gpio = GPIO_CHARG_STAT_N, - .min_voltag = JZ_BAT_MIN_VOLTAGE, - .max_voltag = JZ_BAT_MAX_VOLTAGE, + .min_voltag = 3600000, + .max_voltag = 4200000, .batt_tech = POWER_SUPPLY_TECHNOLOGY_LIPO, };