Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev pass the right device node to i2c devices
details: https://anonhg.NetBSD.org/src/rev/2226c7f2cb73
branches: trunk
changeset: 356487:2226c7f2cb73
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Sep 29 14:15:42 2017 +0000
description:
pass the right device node to i2c devices
diffstat:
sys/arch/macppc/dev/pmu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7e5a1d36628f -r 2226c7f2cb73 sys/arch/macppc/dev/pmu.c
--- a/sys/arch/macppc/dev/pmu.c Fri Sep 29 13:19:57 2017 +0000
+++ b/sys/arch/macppc/dev/pmu.c Fri Sep 29 14:15:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmu.c,v 1.28 2017/09/01 20:10:08 macallan Exp $ */
+/* $NetBSD: pmu.c,v 1.29 2017/09/29 14:15:42 macallan Exp $ */
/*-
* Copyright (c) 2006 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmu.c,v 1.28 2017/09/01 20:10:08 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmu.c,v 1.29 2017/09/29 14:15:42 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -373,7 +373,7 @@
prop_dictionary_set(dev, "compatible", data);
prop_object_release(data);
prop_dictionary_set_uint32(dev, "addr", addr);
- prop_dictionary_set_uint64(dev, "cookie", node);
+ prop_dictionary_set_uint64(dev, "cookie", devs);
prop_array_add(cfg, dev);
prop_object_release(dev);
skip:
Home |
Main Index |
Thread Index |
Old Index