[PATCH 3/6] various janitorial work on the pcf50633.c

Holger Freyther zecke at openmoko.org
Fri May 9 23:34:43 CEST 2008


From 73b7e54fa35391f66dcbcf6eea4aaf6a26379c3e Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke at openmoko.org>
Date: Thu, 8 May 2008 23:06:51 +0200
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 at 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 b6a67ee..2e0904e 100644
--- a/include/linux/pcf50633.h
+++ b/include/linux/pcf50633.h
@@ -61,6 +61,9 @@ pcf50633_usb_curlim_set(struct pcf50633_data *pcf, int ma);
 extern void
 pcf50633_charge_enable(struct pcf50633_data *pcf, int on);
 
+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.4.3





More information about the openmoko-kernel mailing list