mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
MFp4:
sc_child isn't used on FreeBSD, so ifdef it out in a way that is NetBSD mergeable.
This commit is contained in:
parent
774363d3cf
commit
ad3142eda4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140047
@ -146,8 +146,9 @@ typedef struct ehci_softc {
|
||||
|
||||
usb_callout_t sc_tmo_pcd;
|
||||
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
device_ptr_t sc_child; /* /dev/usb# device */
|
||||
|
||||
#endif
|
||||
char sc_dying;
|
||||
} ehci_softc_t;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -193,7 +193,9 @@ typedef struct uhci_softc {
|
||||
void *sc_shutdownhook; /* cookie from shutdown hook */
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
device_ptr_t sc_child; /* /dev/usb# device */
|
||||
#endif
|
||||
} uhci_softc_t;
|
||||
|
||||
usbd_status uhci_init(uhci_softc_t *);
|
||||
|
Loading…
Reference in New Issue
Block a user