diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-10-02 18:06:56 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-10-02 18:06:56 +0000 |
commit | c9142000c8a468c1ede0c2d9c04d5fe40d7dc48c (patch) | |
tree | e70ab4d74a6e69eaff6f4c44b44c18d62f093396 /sys/dev/cardbus | |
parent | 1f0271fc9463564fc7b6cadfb18f7785f4b34a9d (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.c | 4 |
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); |