Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ebus fix compilation errors
details: https://anonhg.NetBSD.org/src/rev/a74138e9e444
branches: trunk
changeset: 572729:a74138e9e444
user: kent <kent%NetBSD.org@localhost>
date: Tue Jan 11 03:45:17 2005 +0000
description:
fix compilation errors
diffstat:
sys/dev/ebus/cs4231_ebus.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (67 lines):
diff -r 7ad44c43d5fd -r a74138e9e444 sys/dev/ebus/cs4231_ebus.c
--- a/sys/dev/ebus/cs4231_ebus.c Tue Jan 11 02:09:54 2005 +0000
+++ b/sys/dev/ebus/cs4231_ebus.c Tue Jan 11 03:45:17 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cs4231_ebus.c,v 1.15 2005/01/10 22:01:37 kent Exp $ */
+/* $NetBSD: cs4231_ebus.c,v 1.16 2005/01/11 03:45:17 kent Exp $ */
/*
* Copyright (c) 2002 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.15 2005/01/10 22:01:37 kent Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs4231_ebus.c,v 1.16 2005/01/11 03:45:17 kent Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -77,10 +77,10 @@
const audio_params_t *);
static int cs4231_ebus_trigger_output(void *, void *, void *, int,
void (*)(void *), void *,
- struct audio_params *);
+ const audio_params_t *);
static int cs4231_ebus_trigger_input(void *, void *, void *, int,
void (*)(void *), void *,
- struct audio_params *);
+ const audio_params_t *);
static int cs4231_ebus_halt_output(void *);
static int cs4231_ebus_halt_input(void *);
@@ -123,7 +123,7 @@
struct cs_transfer *,
bus_space_tag_t, bus_space_handle_t,
int, void *, void *, int, void (*)(void *), void *,
- struct audio_params *);
+ const audio_params_t *);
static void cs4231_ebus_dma_advance(struct cs_transfer *,
bus_space_tag_t, bus_space_handle_t);
static int cs4231_ebus_dma_intr(struct cs_transfer *,
@@ -307,7 +307,7 @@
int blksize;
void (*intr)(void *);
void *arg;
- struct audio_params *param;
+ const audio_params_t *param;
{
u_int32_t csr;
bus_addr_t dmaaddr;
@@ -347,7 +347,7 @@
int blksize;
void (*intr)(void *);
void *arg;
- struct audio_params *param;
+ const audio_params_t *param;
{
struct cs4231_ebus_softc *ebsc = addr;
struct cs4231_softc *sc = &ebsc->sc_cs4231;
@@ -378,7 +378,7 @@
int blksize;
void (*intr)(void *);
void *arg;
- struct audio_params *param;
+ const audio_params_t *param;
{
struct cs4231_ebus_softc *ebsc = addr;
struct cs4231_softc *sc = &ebsc->sc_cs4231;
Home |
Main Index |
Thread Index |
Old Index