Clenup malloc signature change fallout.
This commit is contained in:
parent
6c3d6d7f8f
commit
7ab127868a
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: cs4231.c,v 1.10 2002/08/22 20:42:22 martin Exp $ */
|
/* $NetBSD: cs4231.c,v 1.11 2003/02/01 13:23:28 martin Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||||
@ -37,7 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: cs4231.c,v 1.10 2002/08/22 20:42:22 martin Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: cs4231.c,v 1.11 2003/02/01 13:23:28 martin Exp $");
|
||||||
|
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#if NAUDIO > 0
|
#if NAUDIO > 0
|
||||||
@ -185,7 +185,8 @@ cs4231_malloc(addr, direction, size, pool, flags)
|
|||||||
void *addr;
|
void *addr;
|
||||||
int direction;
|
int direction;
|
||||||
size_t size;
|
size_t size;
|
||||||
int pool, flags;
|
struct malloc_type *pool;
|
||||||
|
int flags;
|
||||||
{
|
{
|
||||||
struct cs4231_softc *sc = addr;
|
struct cs4231_softc *sc = addr;
|
||||||
bus_dma_tag_t dmatag = sc->sc_dmatag;
|
bus_dma_tag_t dmatag = sc->sc_dmatag;
|
||||||
@ -236,7 +237,7 @@ void
|
|||||||
cs4231_free(addr, ptr, pool)
|
cs4231_free(addr, ptr, pool)
|
||||||
void *addr;
|
void *addr;
|
||||||
void *ptr;
|
void *ptr;
|
||||||
int pool;
|
struct malloc_type *pool;
|
||||||
{
|
{
|
||||||
struct cs4231_softc *sc = addr;
|
struct cs4231_softc *sc = addr;
|
||||||
bus_dma_tag_t dmatag = sc->sc_dmatag;
|
bus_dma_tag_t dmatag = sc->sc_dmatag;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: cs4231var.h,v 1.2 2002/03/12 04:48:28 uwe Exp $ */
|
/* $NetBSD: cs4231var.h,v 1.3 2003/02/01 13:23:28 martin Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||||
@ -117,7 +117,7 @@ int cs4231_get_port(void *, mixer_ctrl_t *);
|
|||||||
int cs4231_query_devinfo(void *, mixer_devinfo_t *);
|
int cs4231_query_devinfo(void *, mixer_devinfo_t *);
|
||||||
int cs4231_get_props(void *);
|
int cs4231_get_props(void *);
|
||||||
|
|
||||||
void *cs4231_malloc(void *, int, size_t, int, int);
|
void *cs4231_malloc(void *, int, size_t, struct malloc_type *, int);
|
||||||
void cs4231_free(void *, void *, int);
|
void cs4231_free(void *, void *, struct malloc_type *);
|
||||||
|
|
||||||
#endif /* _DEV_IC_CS4231VAR_H_ */
|
#endif /* _DEV_IC_CS4231VAR_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user