diff options
author | imp <imp@FreeBSD.org> | 2005-01-11 07:34:13 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-11 07:34:13 +0000 |
commit | 63ced9b235017eb23882751a80aa345b4e4cf075 (patch) | |
tree | f71488883fb1e77775541cb7ebc8cbdc20218ebb /sys/dev/usb/ohcivar.h | |
parent | 7787203afc8be3364996edf42b97464030748daf (diff) | |
download | FreeBSD-src-63ced9b235017eb23882751a80aa345b4e4cf075.zip FreeBSD-src-63ced9b235017eb23882751a80aa345b4e4cf075.tar.gz |
MFp4:
sc_child isn't used on FreeBSD, so ifdef it out in a way that is
NetBSD mergeable.
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index f9b0517..478bcea 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -147,7 +147,9 @@ typedef struct ohci_softc { usb_callout_t sc_tmo_rhsc; +#if defined(__NetBSD__) || defined(__OpenBSD__) device_ptr_t sc_child; +#endif char sc_dying; } ohci_softc_t; |