diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:37:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-13 19:37:29 -0400 |
commit | a23f4636c9ae7f1f15c448080f1552864b404136 (patch) | |
tree | 775049f3486be9eed2261515c55abb14bdbc4d73 /arch/arm/common/sharpsl_pm.c | |
parent | fc818301a8a39fedd7f0a71f878f29130c72193d (diff) | |
parent | 5cbc1b6f66313111f64e779bf1df3799bf5c2df8 (diff) |
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge
[ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80
[ARM] 3725/1: sharpsl_pm: warn about wrong temperature
[ARM] 3723/1: collie charging
[ARM] 3728/1: Restore missing CPU Hotplug irq helper
[ARM] 3727/1: fix ucb initialization on collie
[ARM] Allow Versatile to be built for AB and PB
[ARM] 3726/1: update {ep93xx,ixp2000,ixp23xx,lpd270,onearm} defconfigs to 2.6.18-rc1
[ARM] 3721/1: Small cleanup for locomo.c
Diffstat (limited to 'arch/arm/common/sharpsl_pm.c')
-rw-r--r-- | arch/arm/common/sharpsl_pm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/common/sharpsl_pm.c b/arch/arm/common/sharpsl_pm.c index 045e37e07330..59b5ddec480f 100644 --- a/arch/arm/common/sharpsl_pm.c +++ b/arch/arm/common/sharpsl_pm.c | |||
@@ -412,8 +412,10 @@ static int sharpsl_check_battery_temp(void) | |||
412 | val = get_select_val(buff); | 412 | val = get_select_val(buff); |
413 | 413 | ||
414 | dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val); | 414 | dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val); |
415 | if (val > sharpsl_pm.machinfo->charge_on_temp) | 415 | if (val > sharpsl_pm.machinfo->charge_on_temp) { |
416 | printk(KERN_WARNING "Not charging: temperature out of limits.\n"); | ||
416 | return -1; | 417 | return -1; |
418 | } | ||
417 | 419 | ||
418 | return 0; | 420 | return 0; |
419 | } | 421 | } |