public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] w1: DS2760: move EXPORT_SYMBOL() to function declarations
@ 2010-05-11 17:03 Daniel Mack
  2010-05-11 17:20 ` Anton Vorontsov
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mack @ 2010-05-11 17:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Daniel Mack, Evgeniy Polyakov, Anton Vorontsov

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>
---
 drivers/w1/slaves/w1_ds2760.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/w1/slaves/w1_ds2760.c b/drivers/w1/slaves/w1_ds2760.c
index 6e15334..23c009f 100644
--- a/drivers/w1/slaves/w1_ds2760.c
+++ b/drivers/w1/slaves/w1_ds2760.c
@@ -63,11 +63,13 @@ int w1_ds2760_read(struct device *dev, char *buf, int addr, size_t count)
 {
 	return w1_ds2760_io(dev, buf, addr, count, 0);
 }
+EXPORT_SYMBOL(w1_ds2760_read);
 
 int w1_ds2760_write(struct device *dev, char *buf, int addr, size_t count)
 {
 	return w1_ds2760_io(dev, buf, addr, count, 1);
 }
+EXPORT_SYMBOL(w1_ds2760_write);
 
 static int w1_ds2760_eeprom_cmd(struct device *dev, int addr, int cmd)
 {
@@ -91,11 +93,13 @@ int w1_ds2760_store_eeprom(struct device *dev, int addr)
 {
 	return w1_ds2760_eeprom_cmd(dev, addr, W1_DS2760_COPY_DATA);
 }
+EXPORT_SYMBOL(w1_ds2760_store_eeprom);
 
 int w1_ds2760_recall_eeprom(struct device *dev, int addr)
 {
 	return w1_ds2760_eeprom_cmd(dev, addr, W1_DS2760_RECALL_DATA);
 }
+EXPORT_SYMBOL(w1_ds2760_recall_eeprom);
 
 static ssize_t w1_ds2760_read_bin(struct kobject *kobj,
 				  struct bin_attribute *bin_attr,
@@ -227,11 +231,6 @@ static void __exit w1_ds2760_exit(void)
 	idr_destroy(&bat_idr);
 }
 
-EXPORT_SYMBOL(w1_ds2760_read);
-EXPORT_SYMBOL(w1_ds2760_write);
-EXPORT_SYMBOL(w1_ds2760_store_eeprom);
-EXPORT_SYMBOL(w1_ds2760_recall_eeprom);
-
 module_init(w1_ds2760_init);
 module_exit(w1_ds2760_exit);
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] w1: DS2760: move EXPORT_SYMBOL() to function declarations
  2010-05-11 17:03 [PATCH] w1: DS2760: move EXPORT_SYMBOL() to function declarations Daniel Mack
@ 2010-05-11 17:20 ` Anton Vorontsov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Vorontsov @ 2010-05-11 17:20 UTC (permalink / raw)
  To: Daniel Mack; +Cc: linux-kernel, Evgeniy Polyakov

On Tue, May 11, 2010 at 07:03:53PM +0200, Daniel Mack wrote:
> Signed-off-by: Daniel Mack <daniel@caiaq.de>
> Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>

Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>

Evgeniy, I can take it via battery-2.6.git tree, but I'll need
your Ack.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-11 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 17:03 [PATCH] w1: DS2760: move EXPORT_SYMBOL() to function declarations Daniel Mack
2010-05-11 17:20 ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox