summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2011-06-14 15:34:21 +0000
committermatt <matt@NetBSD.org>2011-06-14 15:34:21 +0000
commit2a5aa7e458daeef2b7f2728cd453b8a35ee67d6d (patch)
tree4aaad268e0e8bd75b2f623a916247c506bd1625f /sys/arch/alpha/include
parent6fdc88b2f00c899e0f1bc4a41181dad2b6476adf (diff)
Major cleanup of alpha device drivers.
Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/cpuvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/cpuvar.h b/sys/arch/alpha/include/cpuvar.h
index b1af0a23a0d..002e6b3319d 100644
--- a/sys/arch/alpha/include/cpuvar.h
+++ b/sys/arch/alpha/include/cpuvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuvar.h,v 1.4 2008/04/28 20:23:11 martin Exp $ */
+/* $NetBSD: cpuvar.h,v 1.5 2011/06/14 15:34:22 matt Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include "opt_multiprocessor.h"
struct cpu_softc {
- struct device sc_dev; /* base device */
+ device_t sc_dev; /* base device */
struct evcnt sc_evcnt_clock; /* clock interrupts */
struct evcnt sc_evcnt_device; /* device interrupts */
#if defined(MULTIPROCESSOR)