summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/sharpsl.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-07-05 00:03:34 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-08-05 14:32:38 +0800
commit04e4ad23541ffef18f1baded24a2675f204c156f (patch)
tree3fde2308b91e49bfb191bc369716fdf36e641f66 /arch/arm/mach-pxa/sharpsl.h
parent05732d7eb0d7f74cc300de8f420630757ae46660 (diff)
downloadtalos-op-linux-04e4ad23541ffef18f1baded24a2675f204c156f.tar.gz
talos-op-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.h26
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);
-
-
OpenPOWER on IntegriCloud