Re: 2.3.45 compile problems: (ac97_codec.c)

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Mon Feb 14 2000 - 11:04:55 EST


On Mon, 14 Feb 2000, Frank de Lange wrote:

> Subject says most of it, here's the beef:
>
> ac97_codec.c: In function `ac97_mixer_ioctl':
> ac97_codec.c:383: `card' undeclared (first use in this function)
> ac97_codec.c:383: (Each undeclared identifier is reported only once
> ac97_codec.c:383: for each function it appears in.)

s/card/codec/ to fix

> ac97_codec.c: In function `ac97_probe_codec_Rsmp_b505a3f5':
> ac97_codec.c:499: warning: implicit declaration of function `arraysize'

Add this to the top of ac97_codec.c:

#define arraysize(x) (sizeof(x)/sizeof(*(x)))

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:27 EST