Module Name: src Committed By: thorpej Date: Thu Aug 5 00:40:42 UTC 2021
Modified Files: src/sys/netbt [thorpej-cfargs2]: hci_unit.c Log Message: Adapt to CFARGS(). To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.15.8.1 src/sys/netbt/hci_unit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netbt/hci_unit.c diff -u src/sys/netbt/hci_unit.c:1.15 src/sys/netbt/hci_unit.c:1.15.8.1 --- src/sys/netbt/hci_unit.c:1.15 Sat Apr 24 23:37:01 2021 +++ src/sys/netbt/hci_unit.c Thu Aug 5 00:40:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: hci_unit.c,v 1.15 2021/04/24 23:37:01 thorpej Exp $ */ +/* $NetBSD: hci_unit.c,v 1.15.8.1 2021/08/05 00:40:42 thorpej Exp $ */ /*- * Copyright (c) 2005 Iain Hibbert. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hci_unit.c,v 1.15 2021/04/24 23:37:01 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hci_unit.c,v 1.15.8.1 2021/08/05 00:40:42 thorpej Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -194,8 +194,7 @@ hci_enable(struct hci_unit *unit) * Attach Bluetooth Device Hub */ unit->hci_bthub = config_found(unit->hci_dev, &unit->hci_bdaddr, NULL, - CFARG_IATTR, "btbus", - CFARG_EOL); + CFARGS(.iattr = "btbus")); return 0;