diff options
author | marius <marius@FreeBSD.org> | 2005-12-03 18:52:31 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-12-03 18:52:31 +0000 |
commit | 9a200981f50c2b0eb430c3b43bbdb8c0b6f28ef7 (patch) | |
tree | bd743bb6452cf74c7ee193a1e1280e82c476c765 /sys | |
parent | d6895fccf70afefda572e61a1e475ea4f15c3d24 (diff) | |
download | FreeBSD-src-9a200981f50c2b0eb430c3b43bbdb8c0b6f28ef7.zip FreeBSD-src-9a200981f50c2b0eb430c3b43bbdb8c0b6f28ef7.tar.gz |
- Adhere style(9) (don't use function calls in initializers).
- Use FBSDID.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/pci/ofw_pcib.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/sparc64/pci/ofw_pcib.c b/sys/sparc64/pci/ofw_pcib.c index bf2f1d7..0f10696 100644 --- a/sys/sparc64/pci/ofw_pcib.c +++ b/sys/sparc64/pci/ofw_pcib.c @@ -29,10 +29,11 @@ * SUCH DAMAGE. * * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13 - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "opt_ofw_pci.h" #include <sys/param.h> @@ -115,8 +116,9 @@ ofw_pcib_probe(device_t dev) static int ofw_pcib_attach(device_t dev) { - struct ofw_pcib_gen_softc *sc = device_get_softc(dev); + struct ofw_pcib_gen_softc *sc; + sc = device_get_softc(dev); ofw_pcib_gen_setup(dev); pcib_attach_common(dev); device_add_child(dev, "pci", sc->ops_pcib_sc.secbus); |