summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/guid.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-04-05 04:55:58 +0000
commit74a9f2e1b4d3ab45a9f72cb5b556c9f521524ab3 (patch)
tree7c4cdb103ab1b388c9852a88bd6fb1e73eba0b5c /drivers/ieee1394/guid.c
parentee6374c8b0d333c08061c6a97bc77090d7461225 (diff)
Merge with Linux 2.4.3.
Note that mingetty does no longer work with serial console, you have to switch to another getty like getty_ps. This commit also includes a fix for a setitimer bug which did prevent getty_ps from working on older kernels.
Diffstat (limited to 'drivers/ieee1394/guid.c')
-rw-r--r--drivers/ieee1394/guid.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/ieee1394/guid.c b/drivers/ieee1394/guid.c
index b7e1d2a27..02539351e 100644
--- a/drivers/ieee1394/guid.c
+++ b/drivers/ieee1394/guid.c
@@ -219,11 +219,19 @@ static struct hpsb_highlevel_ops guid_ops = {
host_reset: host_reset,
};
+static struct hpsb_highlevel *hl;
+
void init_ieee1394_guid(void)
{
atomic_set(&outstanding_requests, 0);
- if (!hpsb_register_highlevel("GUID manager", &guid_ops)) {
+ hl = hpsb_register_highlevel("GUID manager", &guid_ops);
+ if (!hl) {
HPSB_ERR("out of memory during ieee1394 initialization");
}
}
+
+void cleanup_ieee1394_guid(void)
+{
+ hpsb_unregister_highlevel(hl);
+}