diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-02 18:49:29 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-02 18:49:29 +0000 |
commit | 80e6a01a9aa34d60124c82b7cab1420b8b731426 (patch) | |
tree | bd25c23caf7918137d936b2bb4380865adc4d375 /sys/dev/si | |
parent | 77f2cf5c15ada618aef22eb0044b37b8a4782601 (diff) | |
download | src-80e6a01a9aa34d60124c82b7cab1420b8b731426.tar.gz src-80e6a01a9aa34d60124c82b7cab1420b8b731426.zip |
Add #ifdef _KERNEL which allows sicontrol(8) to include this file
from userland to get the debugging definitions.
Notes
Notes:
svn path=/head/; revision=136062
Diffstat (limited to 'sys/dev/si')
-rw-r--r-- | sys/dev/si/sivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/si/sivar.h b/sys/dev/si/sivar.h index 9cf7e6a98511..8e28344b6b14 100644 --- a/sys/dev/si/sivar.h +++ b/sys/dev/si/sivar.h @@ -20,6 +20,7 @@ * $FreeBSD$ */ +#ifdef _KERNEL int siattach(device_t dev); void si_intr(void *); @@ -58,6 +59,8 @@ struct si_softc { int sc_memsize; }; +#endif /* _KERNEL */ + #ifdef SI_DEBUG /* * debugging stuff - manipulated using siconfig(8) |