diff options
author | julian <julian@FreeBSD.org> | 2002-02-06 19:35:37 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-02-06 19:35:37 +0000 |
commit | 021d8e63a1879a46bf287d200af7cde8f8463a73 (patch) | |
tree | 0827f162973182853097573796c118284210e225 /sys/dev/ata | |
parent | 6a036e317e2e8e5408927c02ab424b3406b49b98 (diff) | |
download | FreeBSD-src-021d8e63a1879a46bf287d200af7cde8f8463a73.zip FreeBSD-src-021d8e63a1879a46bf287d200af7cde8f8463a73.tar.gz |
Make LINT compile after fruitless attempts to get the authors
to fix their code.
ata stuff:
Change name of ar_attach to not colide with existing ar_attach in if_ar.c.
usb stuff:
Create a dummy function to satisfy a call to it when in DEBUG mode.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/ata-raid.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/ata-raid.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 10c5381..7774c69 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -531,7 +531,7 @@ ata_boot_attach(void) if (ch->devices & ATA_ATA_SLAVE) ad_attach(&ch->device[SLAVE]); } - ar_attach(); + atar_attach(); #endif #if defined(DEV_ATAPICD) || defined(DEV_ATAPIFD) || defined(DEV_ATAPIST) /* then the atapi devices */ diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index ba7e5cf..3aa7fd0 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -107,7 +107,7 @@ ar_probe(struct ad_softc *adp) { } void -ar_attach() +atar_attach() { struct ar_softc *raid; dev_t dev; diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index acc3eb0..06a5f8f 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -206,5 +206,5 @@ struct promise_raid_conf { } __attribute__((packed)); int ar_probe(struct ad_softc *); -void ar_attach(void); +void atar_attach(void); |