summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch
diff options
context:
space:
mode:
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 11:58:53 +0000
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-12 11:58:53 +0000
commitfc54b9bf158eea9cae647ce2c58f7d9989af173a (patch)
tree54644c1229434d7ee13c5872bda4129e34337fc0 /target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch
parentd9f49b62b28ebd245587854efa484974d90debbf (diff)
changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch b/target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch
new file mode 100644
index 0000000000..0eefbb71a3
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch
@@ -0,0 +1,29 @@
+From 555ac92637a4343511a38cd4ff70d1aab6284d60 Mon Sep 17 00:00:00 2001
+From: Holger Freyther <ich@tamarin.(none)>
+Date: Tue, 13 May 2008 18:53:40 +0100
+Subject: [PATCH] [pcf50633] Add exported symbol to the header file
+ Reading the battery volt using the ADC was an exported symbol
+ but not in the header file, add it.
+
+Signed-Off-By: Holger Freyther <zecke@openmoko.org>
+---
+ include/linux/pcf50633.h | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h
+index f427985..05b55f3 100644
+--- a/include/linux/pcf50633.h
++++ b/include/linux/pcf50633.h
+@@ -64,6 +64,9 @@ pcf50633_charge_enable(struct pcf50633_data *pcf, int on);
+ extern void
+ pcf50633_backlight_resume(struct pcf50633_data *pcf);
+
++extern u_int16_t
++pcf50633_battvolt(struct pcf50633_data *pcf);
++
+ #define PCF50633_FEAT_EXTON 0x00000001 /* not yet supported */
+ #define PCF50633_FEAT_MBC 0x00000002
+ #define PCF50633_FEAT_BBC 0x00000004 /* not yet supported */
+--
+1.5.6.5
+