summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-02 18:06:56 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-02 18:06:56 +0000
commitc9142000c8a468c1ede0c2d9c04d5fe40d7dc48c (patch)
treee70ab4d74a6e69eaff6f4c44b44c18d62f093396 /sys/dev/cardbus
parent1f0271fc9463564fc7b6cadfb18f7785f4b34a9d (diff)
Simplify device attachment. From brad@ with a tiny correction.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/if_pgt_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_pgt_cardbus.c b/sys/dev/cardbus/if_pgt_cardbus.c
index b84a7600fae..58180722899 100644
--- a/sys/dev/cardbus/if_pgt_cardbus.c
+++ b/sys/dev/cardbus/if_pgt_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pgt_cardbus.c,v 1.1 2006/09/28 05:02:33 mglocker Exp $ */
+/* $OpenBSD: if_pgt_cardbus.c,v 1.2 2006/10/02 18:06:55 mglocker Exp $ */
/*
* Copyright (c) 2006 Marcus Glocker <mglocker@openbsd.org>
@@ -138,7 +138,7 @@ pgt_cardbus_attach(struct device *parent, struct device *self, void *aux)
printf(": irq %d\n", csc->sc_intrline);
if (rootvp == NULL)
- mountroothook_establish(pgt_attachhook, sc);
+ mountroothook_establish(pgt_attach, sc);
else
pgt_attach(sc);