aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-06-24 14:36:54 +0000
committerWarner Losh <imp@FreeBSD.org>2005-06-24 14:36:54 +0000
commitab581af7793365b219b8d57024e809a5b0e9c0ad (patch)
tree91b11a1e2d6c246cb57e03c1d11c4d0d6f4ccf99 /sys/dev/fdc
parenta3e5dcfd76c7dee9cfcb185ab90c3475818a5807 (diff)
downloadsrc-ab581af7793365b219b8d57024e809a5b0e9c0ad.tar.gz
src-ab581af7793365b219b8d57024e809a5b0e9c0ad.zip
Eliminate unused argument in PCMCIA_CARD macro.
Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite)
Notes
Notes: svn path=/head/; revision=147580
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc_pccard.c b/sys/dev/fdc/fdc_pccard.c
index f7b05f80e419..f960c3b5b141 100644
--- a/sys/dev/fdc/fdc_pccard.c
+++ b/sys/dev/fdc/fdc_pccard.c
@@ -48,7 +48,7 @@ static int fdc_pccard_probe(device_t);
static int fdc_pccard_attach(device_t);
static const struct pccard_product fdc_pccard_products[] = {
- PCMCIA_CARD(YEDATA, EXTERNAL_FDD, 0),
+ PCMCIA_CARD(YEDATA, EXTERNAL_FDD),
};
static int