lkml.org 
[lkml]   [2003]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.5.65-bk3] compile fix for drivers/media/dvb/dvb-core/dvbdev.c

Patch below fixes following compile breakage:

gcc -Wp,-MD,drivers/media/dvb/dvb-core/.dvbdev.o.d -D__KERNEL__
-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix
include -DKBUILD_BASENAME=dvbdev -DKBUILD_MODNAME=dvb_core -c -o
drivers/media/dvb/dvb-core/.tmp_dvbdev.o
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/dvb/dvb-core/dvbdev.c:114:2: #endif without #if
make[4]: *** [drivers/media/dvb/dvb-core/dvbdev.o] Error 1
make[3]: *** [drivers/media/dvb/dvb-core] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

John Kim



diff -Nau linux-2.5.65-bk3/drivers/media/dvb/dvb-core/dvbdev.c
linux-2.5.65-bk3-new/drivers/media/dvb/dvb-core/dvbdev.c
--- linux-2.5.65-bk3/drivers/media/dvb/dvb-core/dvbdev.c 2003-03-22 08:21:27.000000000 -0500
+++ linux-2.5.65-bk3-new/drivers/media/dvb/dvb-core/dvbdev.c 2003-03-22 12:14:58.000000000 -0500
@@ -111,8 +111,6 @@
.owner = THIS_MODULE,
.open = dvb_device_open,
};
-#endif /* CONFIG_DVB_DEVFS_ONLY */
-


int dvb_generic_open(struct inode *inode, struct file *file)
-
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 13:34    [W:0.024 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site