diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-07-04 18:03:34 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-08-05 08:32:38 +0200 |
commit | 04e4ad23541ffef18f1baded24a2675f204c156f (patch) | |
tree | 3fde2308b91e49bfb191bc369716fdf36e641f66 /arch/arm/mach-pxa/sharpsl.h | |
parent | [ARM] pxa: use generic gpio_get_value() instead of READ_GPIO_BIT() (diff) | |
download | linux-04e4ad23541ffef18f1baded24a2675f204c156f.tar.xz linux-04e4ad23541ffef18f1baded24a2675f204c156f.zip |
[ARM] pxa: removed mostly unused and confusing two sharpsl.h
Only a small part of used code is moved into sharpsl_pm.h.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/sharpsl.h')
-rw-r--r-- | arch/arm/mach-pxa/sharpsl.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-pxa/sharpsl.h b/arch/arm/mach-pxa/sharpsl.h deleted file mode 100644 index 0cc1203c5bef..000000000000 --- a/arch/arm/mach-pxa/sharpsl.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2004-2005 Richard Purdie - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - */ - -#include <mach/sharpsl_pm.h> - -/* - * SharpSL Battery/PM Driver - */ -#define READ_GPIO_BIT(x) (GPLR(x) & GPIO_bit(x)) - -/* MAX1111 Channel Definitions */ -#define MAX1111_BATT_VOLT 4u -#define MAX1111_BATT_TEMP 2u -#define MAX1111_ACIN_VOLT 6u - -extern struct battery_thresh sharpsl_battery_levels_acin[]; -extern struct battery_thresh sharpsl_battery_levels_noac[]; -int sharpsl_pm_pxa_read_max1111(int channel); - - |