[2.6.11]
PATCH 1/1 [2.6.11]
Fix one array-of-incomplete-type error from gcc4 in bttvp.h.
/Mikael
drivers/media/video/bttvp.h renamed from drivers/media/video/bttvp.h.~1~ +2 -1
@@ -230,7 +230,6 @@ extern int fini_bttv_i2c(struct bttv *bt/* our devices */ #define BTTV_MAX 16extern 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)