summaryrefslogtreecommitdiff
path: root/drivers/firewire/fw-topology.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-05-08 04:33:31 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-05-10 20:24:13 +0400
commite175569c4639872b5cf242c9d4a71cc40c5f3c29 (patch)
treec962499ff5db9cc91d7b618524221563f2ccf452 /drivers/firewire/fw-topology.h
parent3e7cbae7c6dda18d427335b3ad98f1a0d40ef30c (diff)
downloadlinux-e175569c4639872b5cf242c9d4a71cc40c5f3c29.tar.xz
firewire: Use lib/ implementation of CRC ITU-T.
With the CRC ITU-T implementation available in lib/ we can use that instead. This also fixes a bug in the topology map crc computation. Signed-off-by: Kristian Hoegsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (fixed Kconfig)
Diffstat (limited to 'drivers/firewire/fw-topology.h')
-rw-r--r--drivers/firewire/fw-topology.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h
index 913bfe160882..0778077e9d80 100644
--- a/drivers/firewire/fw-topology.h
+++ b/drivers/firewire/fw-topology.h
@@ -88,7 +88,8 @@ fw_node_put(struct fw_node *node)
void
fw_destroy_nodes(struct fw_card *card);
-u16
-crc16_itu_t(const u32 *buffer, size_t length);
+int
+fw_compute_block_crc(u32 *block);
+
#endif /* __fw_topology_h */