Skip to content

Commit

Permalink
Make uslcom compile, cut'n'paste errors from uplcom.
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsa committed Feb 15, 2009
1 parent 206de18 commit 19dd2e9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sys/dev/usb2/serial/uslcom2.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
#if USB_DEBUG
static int uslcom_debug = 0;

SYSCTL_NODE(_hw_usb2, OID_AUTO, uplcom, CTLFLAG_RW, 0, "USB uplcom");
SYSCTL_INT(_hw_usb2_uplcom, OID_AUTO, debug, CTLFLAG_RW,
SYSCTL_NODE(_hw_usb2, OID_AUTO, uslcom, CTLFLAG_RW, 0, "USB uslcom");
SYSCTL_INT(_hw_usb2_uslcom, OID_AUTO, debug, CTLFLAG_RW,
&uslcom_debug, 0, "Debug level");
#endif

Expand Down Expand Up @@ -188,15 +188,15 @@ static device_method_t uslcom_methods[] = {
static devclass_t uslcom_devclass;

static driver_t uslcom_driver = {
.name = "uplcom",
.name = "uslcom",
.methods = uslcom_methods,
.size = sizeof(struct uslcom_softc),
};

DRIVER_MODULE(uplcom, ushub, uslcom_driver, uslcom_devclass, NULL, 0);
MODULE_DEPEND(uplcom, usb2_serial, 1, 1, 1);
MODULE_DEPEND(uplcom, usb2_core, 1, 1, 1);
MODULE_VERSION(uplcom, 1);
DRIVER_MODULE(uslcom, ushub, uslcom_driver, uslcom_devclass, NULL, 0);
MODULE_DEPEND(uslcom, usb2_serial, 1, 1, 1);
MODULE_DEPEND(uslcom, usb2_core, 1, 1, 1);
MODULE_VERSION(uslcom, 1);

static int
uslcom_probe(device_t dev)
Expand Down

0 comments on commit 19dd2e9

Please sign in to comment.