aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-04-04 01:51:17 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-22 14:22:50 -0400
commit339f07236b481371ffb4993cf309dd1f1b3382ab (patch)
treeaaa6fe54ce812ca9fcf7752664acb74d846b77fe /drivers/w1
parentabd52a13206e02537ca1dc08fc5438c7d27bdbf1 (diff)
[PATCH] w1 exports
From: Andrew Morton <akpm@osdl.org> WARNING: "w1_read_block" [drivers/w1/slaves/w1_therm.ko] undefined! WARNING: "w1_write_8" [drivers/w1/slaves/w1_therm.ko] undefined! WARNING: "w1_reset_select_slave" [drivers/w1/slaves/w1_therm.ko] undefined! WARNING: "w1_reset_bus" [drivers/w1/slaves/w1_ds2433.ko] undefined! WARNING: "w1_write_8" [drivers/w1/slaves/w1_ds2433.ko] undefined! WARNING: "w1_read_block" [drivers/w1/slaves/w1_ds2433.ko] undefined! WARNING: "w1_write_block" [drivers/w1/slaves/w1_ds2433.ko] undefined! WARNING: "w1_reset_select_slave" [drivers/w1/slaves/w1_ds2433.ko] undefined! Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1_io.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c
index a6eb9db73591..3253bb0d0826 100644
--- a/drivers/w1/w1_io.c
+++ b/drivers/w1/w1_io.c
@@ -23,6 +23,7 @@
23 23
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <linux/moduleparam.h> 25#include <linux/moduleparam.h>
26#include <linux/module.h>
26 27
27#include "w1.h" 28#include "w1.h"
28#include "w1_log.h" 29#include "w1_log.h"
@@ -107,6 +108,7 @@ void w1_write_8(struct w1_master *dev, u8 byte)
107 for (i = 0; i < 8; ++i) 108 for (i = 0; i < 8; ++i)
108 w1_touch_bit(dev, (byte >> i) & 0x1); 109 w1_touch_bit(dev, (byte >> i) & 0x1);
109} 110}
111EXPORT_SYMBOL_GPL(w1_write_8);
110 112
111 113
112/** 114/**
@@ -207,6 +209,7 @@ void w1_write_block(struct w1_master *dev, const u8 *buf, int len)
207 for (i = 0; i < len; ++i) 209 for (i = 0; i < len; ++i)
208 w1_write_8(dev, buf[i]); 210 w1_write_8(dev, buf[i]);
209} 211}
212EXPORT_SYMBOL_GPL(w1_write_block);
210 213
211/** 214/**
212 * Reads a series of bytes. 215 * Reads a series of bytes.
@@ -231,6 +234,7 @@ u8 w1_read_block(struct w1_master *dev, u8 *buf, int len)
231 234
232 return ret; 235 return ret;
233} 236}
237EXPORT_SYMBOL_GPL(w1_read_block);
234 238
235/** 239/**
236 * Issues a reset bus sequence. 240 * Issues a reset bus sequence.
@@ -256,6 +260,7 @@ int w1_reset_bus(struct w1_master *dev)
256 260
257 return result; 261 return result;
258} 262}
263EXPORT_SYMBOL_GPL(w1_reset_bus);
259 264
260u8 w1_calc_crc8(u8 * data, int len) 265u8 w1_calc_crc8(u8 * data, int len)
261{ 266{
@@ -266,6 +271,7 @@ u8 w1_calc_crc8(u8 * data, int len)
266 271
267 return crc; 272 return crc;
268} 273}
274EXPORT_SYMBOL_GPL(w1_calc_crc8);
269 275
270void w1_search_devices(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb) 276void w1_search_devices(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)
271{ 277{
@@ -298,5 +304,4 @@ int w1_reset_select_slave(struct w1_slave *sl)
298 } 304 }
299 return 0; 305 return 0;
300} 306}
301 307EXPORT_SYMBOL_GPL(w1_reset_select_slave);
302EXPORT_SYMBOL_GPL(w1_calc_crc8);