mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpe@user.it.uu.se>
To: linux-kernel@vger.kernel.org
Cc: kraxel@bytesex.org
Subject: [PATCH][2.6.11]
Date: Tue, 15 Mar 2005 15:01:39 +0100	[thread overview]
Message-ID: <16950.60099.277316.423488@alkaid.it.uu.se> (raw)

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)

                 reply	other threads:[~2005-03-15 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16950.60099.277316.423488@alkaid.it.uu.se \
    --to=mikpe@user.it.uu.se \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®