Module Name: src
Committed By: cegger
Date: Mon May 4 12:22:41 UTC 2009
Modified Files:
src/sys/arch/i386/i386: apmbios.c
Log Message:
struct device * -> device_t
No functional changes intended.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/i386/apmbios.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/arch/i386/i386/apmbios.c
diff -u src/sys/arch/i386/i386/apmbios.c:1.13 src/sys/arch/i386/i386/apmbios.c:1.14
--- src/sys/arch/i386/i386/apmbios.c:1.13 Mon Jan 5 20:46:22 2009
+++ src/sys/arch/i386/i386/apmbios.c Mon May 4 12:22:41 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: apmbios.c,v 1.13 2009/01/05 20:46:22 apb Exp $ */
+/* $NetBSD: apmbios.c,v 1.14 2009/05/04 12:22:41 cegger Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.13 2009/01/05 20:46:22 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.14 2009/05/04 12:22:41 cegger Exp $");
#include "opt_apm.h"
#include "opt_compat_mach.h" /* Needed to get the right segment def */
@@ -85,8 +85,8 @@
#define DPRINTF(f, x)
#endif
-static void apmbiosattach(struct device *, struct device *, void *);
-static int apmbiosmatch(struct device *, struct cfdata *, void *);
+static void apmbiosattach(device_t, device_t, void *);
+static int apmbiosmatch(device_t, cfdata_t, void *);
#if 0
static void apm_devpowmgt_enable(int, u_int);
@@ -427,8 +427,7 @@
}
static int
-apmbiosmatch(struct device *parent, struct cfdata *match,
- void *aux)
+apmbiosmatch(device_t parent, cfdata_t match, void *aux)
{
/* There can be only one! */
if (apm_inited)
@@ -466,8 +465,7 @@
#endif
static void
-apmbiosattach(struct device *parent, struct device *self,
- void *aux)
+apmbiosattach(device_t parent, device_t self, void *aux)
{
struct apm_softc *apmsc = device_private(self);
struct bioscallregs regs;