summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-03-28 19:15:43 +0000
committerkettenis <kettenis@openbsd.org>2016-03-28 19:15:43 +0000
commit411e7f6a72cc30001768e76c10d11a087693ac54 (patch)
tree960f53b75ae2e69aad21b51a7bf30738ebde5409
parentAdding each and every new acpi device driver to acpi_foundhid() is (diff)
downloadwireguard-openbsd-411e7f6a72cc30001768e76c10d11a087693ac54.tar.xz
wireguard-openbsd-411e7f6a72cc30001768e76c10d11a087693ac54.zip
Replace 0 with NULL.
-rw-r--r--sys/dev/acpi/bytgpio.c4
-rw-r--r--sys/dev/acpi/sdhc_acpi.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/bytgpio.c b/sys/dev/acpi/bytgpio.c
index 46978d31609..167d1e38ae6 100644
--- a/sys/dev/acpi/bytgpio.c
+++ b/sys/dev/acpi/bytgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bytgpio.c,v 1.1 2016/03/28 17:29:11 kettenis Exp $ */
+/* $OpenBSD: bytgpio.c,v 1.2 2016/03/28 19:15:43 kettenis Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -60,7 +60,7 @@ struct cfdriver bytgpio_cd = {
const char *bytgpio_hids[] = {
"INT33FC",
- 0
+ NULL
};
/*
diff --git a/sys/dev/acpi/sdhc_acpi.c b/sys/dev/acpi/sdhc_acpi.c
index 4a9823bc10b..2a56aaa68ff 100644
--- a/sys/dev/acpi/sdhc_acpi.c
+++ b/sys/dev/acpi/sdhc_acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhc_acpi.c,v 1.2 2016/03/28 17:53:26 kettenis Exp $ */
+/* $OpenBSD: sdhc_acpi.c,v 1.3 2016/03/28 19:15:43 kettenis Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@ -63,7 +63,7 @@ const char *sdhc_hids[] = {
"INT33BB",
"80860F14",
"PNP0FFF",
- 0
+ NULL
};
int sdhc_acpi_parse_resources(union acpi_resource *, void *);