Module Name: src
Committed By: cegger
Date: Tue May 12 14:45:43 UTC 2009
Modified Files:
src/sys/dev/splash: splash.c splash.h
Log Message:
struct device * -> device_t, no functional changes intended.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/splash/splash.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/splash/splash.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/splash/splash.c
diff -u src/sys/dev/splash/splash.c:1.6 src/sys/dev/splash/splash.c:1.7
--- src/sys/dev/splash/splash.c:1.6 Sat May 10 15:31:05 2008
+++ src/sys/dev/splash/splash.c Tue May 12 14:45:43 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: splash.c,v 1.6 2008/05/10 15:31:05 martin Exp $ */
+/* $NetBSD: splash.c,v 1.7 2009/05/12 14:45:43 cegger Exp $ */
/*-
* Copyright (c) 2006 Jared D. McNeill <[email protected]>
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.6 2008/05/10 15:31:05 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: splash.c,v 1.7 2009/05/12 14:45:43 cegger Exp $");
#include "opt_splash.h"
@@ -373,7 +373,7 @@
}
static int
-splash_progress_stop(struct device *dev)
+splash_progress_stop(device_t dev)
{
struct splash_progress *sp;
@@ -397,7 +397,7 @@
sp->sp_force = 0;
splash_progress_state = sp;
splash_progress_render(sp);
- config_finalize_register((struct device *)sp, splash_progress_stop);
+ config_finalize_register((device_t)sp, splash_progress_stop);
return;
}
Index: src/sys/dev/splash/splash.h
diff -u src/sys/dev/splash/splash.h:1.3 src/sys/dev/splash/splash.h:1.4
--- src/sys/dev/splash/splash.h:1.3 Sat May 10 15:31:05 2008
+++ src/sys/dev/splash/splash.h Tue May 12 14:45:43 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: splash.h,v 1.3 2008/05/10 15:31:05 martin Exp $ */
+/* $NetBSD: splash.h,v 1.4 2009/05/12 14:45:43 cegger Exp $ */
/*-
* Copyright (c) 2006 Jared D. McNeill <[email protected]>
@@ -54,7 +54,7 @@
#ifdef SPLASHSCREEN_PROGRESS
struct splash_progress {
- struct device *sp_dev; /* XXX needed for config_finalize */
+ device_t sp_dev; /* XXX needed for config_finalize */
int sp_top;
int sp_left;
int sp_width;