diff options
author | jhb <jhb@FreeBSD.org> | 2006-01-20 22:00:50 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-01-20 22:00:50 +0000 |
commit | 811fcee48ab40b81428912eb391ae15000827ae8 (patch) | |
tree | 67aedc20f08bc676c331b82673a4e0a3508fc0e6 /sys/dev/cardbus | |
parent | 76788b459e8439347a498ab900465722b7a187cf (diff) | |
download | FreeBSD-src-811fcee48ab40b81428912eb391ae15000827ae8.zip FreeBSD-src-811fcee48ab40b81428912eb391ae15000827ae8.tar.gz |
Make the 'pci_devclass' pointer variable private (drivers really shouldn't
share devclass pointers, a mistake I've encouraged in the past) and
move the declaration of the pci_driver kobj class from cardbus.c to
pci_private.h so that other drivers can inherit from pci_driver.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 85a8113..523e1b9 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -358,7 +358,6 @@ static device_method_t cardbus_methods[] = { {0,0} }; -DECLARE_CLASS(pci_driver); DEFINE_CLASS_1(cardbus, cardbus_driver, cardbus_methods, sizeof(struct cardbus_softc), pci_driver); |