Messages in this thread Patch in this message | | | From | Mikael Pettersson <> | Date | Tue, 15 Mar 2005 15:01:39 +0100 | 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/
| |