diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-13 02:13:56 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2002-12-13 02:13:56 +0000 |
commit | 3670820ae9a14bae38e82da551ea736e6d8e61ef (patch) | |
tree | 6e4907896ce8b7db921aab6eeadbf5040c73740d /sys/dev/pci | |
parent | 17a66042b06dc6c21900fa3c4e0587b2a2c5f197 (diff) |
KNF
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/fwohci_pci.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/fwohci_pci.c b/sys/dev/pci/fwohci_pci.c index 162dba6d13f..3a8f4c4c793 100644 --- a/sys/dev/pci/fwohci_pci.c +++ b/sys/dev/pci/fwohci_pci.c @@ -63,11 +63,11 @@ struct fwohci_pci_softc { }; #ifdef __NetBSD__ -static int fwohci_pci_match(struct device *, struct cfdata *, void *); +int fwohci_pci_match(struct device *, struct cfdata *, void *); #else -static int fwohci_pci_match(struct device *, void *, void *); +int fwohci_pci_match(struct device *, void *, void *); #endif -static void fwohci_pci_attach(struct device *, struct device *, void *); +void fwohci_pci_attach(struct device *, struct device *, void *); struct cfattach fwohci_pci_ca = { sizeof(struct fwohci_pci_softc), fwohci_pci_match, fwohci_pci_attach, @@ -77,10 +77,10 @@ struct cfattach fwohci_pci_ca = { }; #ifdef __NetBSD__ -static int +int fwohci_pci_match(struct device *parent, struct cfdata *match, void *aux) #else -static int +int fwohci_pci_match(struct device *parent, void *match, void *aux) #endif { @@ -89,12 +89,12 @@ fwohci_pci_match(struct device *parent, void *match, void *aux) if (PCI_CLASS(pa->pa_class) == PCI_CLASS_SERIALBUS && PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_SERIALBUS_FIREWIRE && PCI_INTERFACE(pa->pa_class) == PCI_INTERFACE_OHCI) - return 1; + return (1); - return 0; + return (0); } -static void +void fwohci_pci_attach(struct device *parent, struct device *self, void *aux) { struct pci_attach_args *pa = (struct pci_attach_args *) aux; |