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 drop openfirm.h include



details:   https://anonhg.NetBSD.org/src/rev/ac7c36bbc9fc
branches:  trunk
changeset: 1009446:ac7c36bbc9fc
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Apr 23 09:47:31 2020 +0000

description:
drop openfirm.h include

diffstat:

 sys/arch/macppc/dev/lmu.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r c399d7d51ba1 -r ac7c36bbc9fc sys/arch/macppc/dev/lmu.c
--- a/sys/arch/macppc/dev/lmu.c Thu Apr 23 09:40:08 2020 +0000
+++ b/sys/arch/macppc/dev/lmu.c Thu Apr 23 09:47:31 2020 +0000
@@ -1,4 +1,4 @@
- /* $NetBSD: lmu.c,v 1.2 2020/02/06 02:17:24 macallan Exp $ */
+/* $NetBSD: lmu.c,v 1.3 2020/04/23 09:47:31 macallan Exp $ */
 
 /*-
  * Copyright (c) 2020 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lmu.c,v 1.2 2020/02/06 02:17:24 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lmu.c,v 1.3 2020/04/23 09:47:31 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -41,8 +41,6 @@
 #include <sys/time.h>
 #include <sys/callout.h>
 
-#include <dev/ofw/openfirm.h>
-
 #include <dev/i2c/i2cvar.h>
 
 #include <dev/sysmon/sysmonvar.h>
@@ -56,7 +54,7 @@
        struct sysmon_envsys *sc_sme;
        envsys_data_t   sc_sensors[2];
        callout_t       sc_adjust;
-       int sc_thresh, sc_hyst, sc_level;
+       int             sc_thresh, sc_hyst, sc_level;
        int             sc_lid_state, sc_video_state;
 };
 



Home | Main Index | Thread Index | Old Index