Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28609
b: refs/heads/master
c: 339f072
h: refs/heads/master
i:
  28607: 2a1fb9e
v: v3
  • Loading branch information
Andrew Morton authored and Greg Kroah-Hartman committed Jun 22, 2006
1 parent a24e1a1 commit 4082ebc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abd52a13206e02537ca1dc08fc5438c7d27bdbf1
refs/heads/master: 339f07236b481371ffb4993cf309dd1f1b3382ab
9 changes: 7 additions & 2 deletions trunk/drivers/w1/w1_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <linux/delay.h>
#include <linux/moduleparam.h>
#include <linux/module.h>

#include "w1.h"
#include "w1_log.h"
Expand Down Expand Up @@ -107,6 +108,7 @@ void w1_write_8(struct w1_master *dev, u8 byte)
for (i = 0; i < 8; ++i)
w1_touch_bit(dev, (byte >> i) & 0x1);
}
EXPORT_SYMBOL_GPL(w1_write_8);


/**
Expand Down Expand Up @@ -207,6 +209,7 @@ void w1_write_block(struct w1_master *dev, const u8 *buf, int len)
for (i = 0; i < len; ++i)
w1_write_8(dev, buf[i]);
}
EXPORT_SYMBOL_GPL(w1_write_block);

/**
* Reads a series of bytes.
Expand All @@ -231,6 +234,7 @@ u8 w1_read_block(struct w1_master *dev, u8 *buf, int len)

return ret;
}
EXPORT_SYMBOL_GPL(w1_read_block);

/**
* Issues a reset bus sequence.
Expand All @@ -256,6 +260,7 @@ int w1_reset_bus(struct w1_master *dev)

return result;
}
EXPORT_SYMBOL_GPL(w1_reset_bus);

u8 w1_calc_crc8(u8 * data, int len)
{
Expand All @@ -266,6 +271,7 @@ u8 w1_calc_crc8(u8 * data, int len)

return crc;
}
EXPORT_SYMBOL_GPL(w1_calc_crc8);

void w1_search_devices(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb)
{
Expand Down Expand Up @@ -298,5 +304,4 @@ int w1_reset_select_slave(struct w1_slave *sl)
}
return 0;
}

EXPORT_SYMBOL_GPL(w1_calc_crc8);
EXPORT_SYMBOL_GPL(w1_reset_select_slave);

0 comments on commit 4082ebc

Please sign in to comment.