mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.6.11]
@ 2005-03-15 14:01 Mikael Pettersson
  0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2005-03-15 14:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: kraxel

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-15 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-15 14:01 [PATCH][2.6.11] Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®