and possibly some others, when CONFIG_PROC_FS=n
Andrzej
***********************************************************************
diff -ur linux-2.4.4-ac11/drivers/media/video/zoran.h linux/drivers/media/video/zoran.h
--- linux-2.4.4-ac11/drivers/media/video/zoran.h Mon May 21 12:57:46 2001
+++ linux/drivers/media/video/zoran.h Mon May 21 14:14:16 2001
@@ -305,11 +305,8 @@
struct zoran_gbuffer jpg_gbuf[BUZ_MAX_FRAME]; /* MJPEG buffers' info */
/* Additional stuff for testing */
-#ifdef CONFIG_PROC_FS
-
struct proc_dir_entry *zoran_proc;
-#endif
int testing;
int jpeg_error;
int intr_counter_GIRQ1;
diff -ur linux-2.4.4-ac11/include/linux/proc_fs.h linux/include/linux/proc_fs.h
--- linux-2.4.4-ac11/include/linux/proc_fs.h Mon May 21 12:03:41 2001
+++ linux/include/linux/proc_fs.h Mon May 21 12:03:22 2001
@@ -171,6 +171,8 @@
#else
+#define proc_root_driver NULL
+
static inline struct proc_dir_entry *proc_net_create(const char *name, mode_t mode,
get_info_t *get_info) {return NULL;}
static inline void proc_net_remove(const char *name) {}
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - 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/