lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH][2.6.11]
Fix one array-of-incomplete-type error from gcc4 in bttvp.h.

/Mikael

--- linux-2.6.11/drivers/media/video/bttvp.h.~1~ 2005-03-02 19:24:16.000000000 +0100
+++ linux-2.6.11/drivers/media/video/bttvp.h 2005-03-15 12:47:57.000000000 +0100
@@ -230,7 +230,6 @@ extern int fini_bttv_i2c(struct bttv *bt
/* our devices */
#define BTTV_MAX 16
extern unsigned int bttv_num;
-extern struct bttv bttvs[BTTV_MAX];

#define BTTV_MAX_FBUF 0x208000
#define VBIBUF_SIZE (2048*VBI_MAXLINES*2)
@@ -378,6 +377,8 @@ struct bttv {
struct bttv_fh init;
};

+extern struct bttv bttvs[BTTV_MAX];
+
/* private ioctls */
#define BTTV_VERSION _IOR('v' , BASE_VIDIOCPRIVATE+6, int)
#define BTTV_VBISIZE _IOR('v' , BASE_VIDIOCPRIVATE+8, int)
-
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:11    [W:0.032 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site