Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Fix compilation error pointed out by nishimura@.
details: https://anonhg.NetBSD.org/src/rev/09b28a8f88ba
branches: trunk
changeset: 319972:09b28a8f88ba
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jun 17 14:50:54 2018 +0000
description:
Fix compilation error pointed out by nishimura@.
diffstat:
sys/dev/i2c/max77620.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dd1ca80a4060 -r 09b28a8f88ba sys/dev/i2c/max77620.c
--- a/sys/dev/i2c/max77620.c Sun Jun 17 14:48:15 2018 +0000
+++ b/sys/dev/i2c/max77620.c Sun Jun 17 14:50:54 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: max77620.c,v 1.3 2018/06/16 21:22:13 thorpej Exp $ */
+/* $NetBSD: max77620.c,v 1.4 2018/06/17 14:50:54 thorpej Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: max77620.c,v 1.3 2018/06/16 21:22:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: max77620.c,v 1.4 2018/06/17 14:50:54 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -260,7 +260,7 @@
struct i2c_attach_args *ia = aux;
int match_result;
- if (iic_use_direct_match(ia, match, max77620_compats, match_result))
+ if (iic_use_direct_match(ia, match, max77620_compats, &match_result))
return match_result;
return 0;
Home |
Main Index |
Thread Index |
Old Index