lkml.org 
[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.6 patch] move OSS ac97_codec.h to sound/oss/
On Tue, Nov 30, 2004 at 02:31:39AM +0100, Adrian Bunk wrote:
--- linux-2.6.10-rc2-mm3-full/sound/oss/emu10k1/hwaccess.h.old 2004-11-30 02:11:21.000000000 +0100
> +++ linux-2.6.10-rc2-mm3-full/sound/oss/emu10k1/hwaccess.h 2004-11-30 02:12:16.000000000 +0100
> @@ -35,7 +35,7 @@
> #include <linux/fs.h>
> #include <linux/sound.h>
> #include <linux/soundcard.h>
> -#include <linux/ac97_codec.h>
> +#include "../ac97_codec.h"

Such relative includes should be avoided. Set CFLAGS_xxx.o in Makefile instead.
And move include down under #include <asm/xxx>

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

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.072 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site