aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rp/rp_pci.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
commit3238c6bd335a8262f18b21ab308b569a49cc7fe7 (patch)
treeacd04a6feb972f86071cbebb5420c10b69d82de9 /sys/dev/rp/rp_pci.c
parent4cbc44fb193808cd4074770c043253cb87761f45 (diff)
downloadsrc-3238c6bd335a8262f18b21ab308b569a49cc7fe7.tar.gz
src-3238c6bd335a8262f18b21ab308b569a49cc7fe7.zip
Fix -Wundef from compiling the amd64 LINT.
Notes
Notes: svn path=/head/; revision=153084
Diffstat (limited to 'sys/dev/rp/rp_pci.c')
-rw-r--r--sys/dev/rp/rp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rp/rp_pci.c b/sys/dev/rp/rp_pci.c
index f7a080c96ca7..46ed5615dc0a 100644
--- a/sys/dev/rp/rp_pci.c
+++ b/sys/dev/rp/rp_pci.c
@@ -104,7 +104,7 @@ static devclass_t rp_devclass;
static int rp_pciprobe(device_t dev);
static int rp_pciattach(device_t dev);
-#if notdef
+#ifdef notdef
static int rp_pcidetach(device_t dev);
static int rp_pcishutdown(device_t dev);
#endif /* notdef */
@@ -306,7 +306,7 @@ sPCIInitController( CONTROLLER_t *CtlP,
CtlP->AiopNumChan[i] = 8;
break;
default:
-#if notdef
+#ifdef notdef
CtlP->AiopNumChan[i] = 8;
#else
CtlP->AiopNumChan[i] = sReadAiopNumChan(CtlP, i);