summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an_pci.c
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2008-01-18 16:34:18 +0000
committerambrisko <ambrisko@FreeBSD.org>2008-01-18 16:34:18 +0000
commit5e9948e31aa519932510d64bbdac71799fcdc938 (patch)
treeaf0b2fffe83a4223fd70c8007312c19161ac28c5 /sys/dev/an/if_an_pci.c
parent22d76bf90958438be196e171ba26c47a2893217b (diff)
downloadFreeBSD-src-5e9948e31aa519932510d64bbdac71799fcdc938.zip
FreeBSD-src-5e9948e31aa519932510d64bbdac71799fcdc938.tar.gz
Style changes from avatar.
Submitted by: avatar
Diffstat (limited to 'sys/dev/an/if_an_pci.c')
-rw-r--r--sys/dev/an/if_an_pci.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c
index d13b147..d13e3ab 100644
--- a/sys/dev/an/if_an_pci.c
+++ b/sys/dev/an/if_an_pci.c
@@ -118,7 +118,7 @@ static int
an_probe_pci(device_t dev)
{
struct an_type *t;
- struct an_softc *sc = device_get_softc(dev);
+ struct an_softc *sc = device_get_softc(dev);
bzero(sc, sizeof(struct an_softc));
t = an_devs;
@@ -231,7 +231,7 @@ an_attach_pci(dev)
error = an_alloc_irq(dev, 0, RF_SHAREABLE);
if (error) {
goto fail;
- }
+ }
sc->an_dev = dev;
error = an_attach(sc, device_get_unit(dev), flags);
@@ -268,20 +268,20 @@ an_resume_pci(device_t dev)
}
static device_method_t an_pci_methods[] = {
- /* Device interface */
- DEVMETHOD(device_probe, an_probe_pci),
- DEVMETHOD(device_attach, an_attach_pci),
+ /* Device interface */
+ DEVMETHOD(device_probe, an_probe_pci),
+ DEVMETHOD(device_attach, an_attach_pci),
DEVMETHOD(device_detach, an_detach),
DEVMETHOD(device_shutdown, an_shutdown),
DEVMETHOD(device_suspend, an_suspend_pci),
DEVMETHOD(device_resume, an_resume_pci),
- { 0, 0 }
+ { 0, 0 }
};
static driver_t an_pci_driver = {
- "an",
- an_pci_methods,
- sizeof(struct an_softc),
+ "an",
+ an_pci_methods,
+ sizeof(struct an_softc),
};
static devclass_t an_devclass;
OpenPOWER on IntegriCloud