From acbc613601ba93f26adb3ba1d91aabeff718298b Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 17 May 2006 15:43:51 -0300 Subject: Fix compilation for Miropcm20 and Cinergy From: Mauro Carvalho Chehab Miropcm compilation were assuming to compile under linux/drivers/media/video, but this is not true when compiling in-tree. Also, make allyesconfig were making "y" to an advanced configuration for Cinergy. gentree.pl also updated. Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/radio/miropcm20-radio.c | 4 ++++ linux/drivers/media/radio/miropcm20-rds-core.c | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'linux') diff --git a/linux/drivers/media/radio/miropcm20-radio.c b/linux/drivers/media/radio/miropcm20-radio.c index ec8b16e8f..1a625e24c 100644 --- a/linux/drivers/media/radio/miropcm20-radio.c +++ b/linux/drivers/media/radio/miropcm20-radio.c @@ -23,7 +23,11 @@ #include #include "compat.h" #include +#ifdef _COMPAT_H +#include "../sound/oss/aci.h" +#else #include "../../../sound/oss/aci.h" +#endif #include "miropcm20-rds-core.h" static int radio_nr = -1; diff --git a/linux/drivers/media/radio/miropcm20-rds-core.c b/linux/drivers/media/radio/miropcm20-rds-core.c index 3f5aaf5fa..a9972dfc1 100644 --- a/linux/drivers/media/radio/miropcm20-rds-core.c +++ b/linux/drivers/media/radio/miropcm20-rds-core.c @@ -24,7 +24,11 @@ #endif #include +#ifdef _COMPAT_H +#include "../sound/oss/aci.h" +#else #include "../../../sound/oss/aci.h" +#endif #include "miropcm20-rds-core.h" #define DEBUG 0 -- cgit v1.2.3