diff options
| author | mrg <mrg@NetBSD.org> | 2020-10-28 01:51:45 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2020-10-28 01:51:45 +0000 |
| commit | 7cd89c8fcced4739f186fe512933931b32ee0b19 (patch) | |
| tree | 7d114524626ecbbf6e2724d10cd87c1d7969de24 /sys/dev | |
| parent | 55384a31e58d48e75933b32ef503c90590784de3 (diff) | |
s/USENET/USBNET/ in another place i just happened to find by
typo-ing "UBS" as "USE".
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/usbnet.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/usbnet.h b/sys/dev/usb/usbnet.h index cddb66c1119..f8f82bd73cf 100644 --- a/sys/dev/usb/usbnet.h +++ b/sys/dev/usb/usbnet.h @@ -1,4 +1,4 @@ -/* $NetBSD: usbnet.h,v 1.18 2020/10/27 13:46:33 mrg Exp $ */ +/* $NetBSD: usbnet.h,v 1.19 2020/10/28 01:51:45 mrg Exp $ */ /* * Copyright (c) 2019 Matthew R. Green @@ -367,15 +367,15 @@ void usbnet_stop(struct usbnet *, struct ifnet *, int); /* module hook up */ #ifdef _MODULE -#define USENET_INIT(name) \ +#define USBNET_INIT(name) \ error = config_init_component(cfdriver_ioconf_##name, \ cfattach_ioconf_##name, cfdata_ioconf_##name); -#define USENET_FINI(name) \ +#define USBNET_FINI(name) \ error = config_fini_component(cfdriver_ioconf_##name, \ cfattach_ioconf_##name, cfdata_ioconf_##name); #else -#define USENET_INIT(name) -#define USENET_FINI(name) +#define USBNET_INIT(name) +#define USBNET_FINI(name) #endif #define USBNET_MODULE(name) \ @@ -389,10 +389,10 @@ if_##name##_modcmd(modcmd_t cmd, void *aux) \ \ switch (cmd) { \ case MODULE_CMD_INIT: \ - USENET_INIT(name) \ + USBNET_INIT(name) \ return error; \ case MODULE_CMD_FINI: \ - USENET_FINI(name) \ + USBNET_FINI(name) \ return error; \ default: \ return ENOTTY; \ |
