Fix one array-of-incomplete-type error from gcc4 in bt878.h.
/Mikael
--- linux-2.6.11/drivers/media/dvb/bt8xx/bt878.h.~1~ 2004-12-25 12:16:19.000000000 +0100
+++ linux-2.6.11/drivers/media/dvb/bt8xx/bt878.h 2005-03-15 11:47:50.000000000 +0100
@@ -89,7 +89,6 @@
#define BT878_RISC_SYNC_MASK (1 << 15)
extern int bt878_num;
-extern struct bt878 bt878[BT878_MAX];
struct bt878 {
struct semaphore gpio_lock;
@@ -124,6 +123,8 @@ struct bt878 {
int shutdown;
};
+extern struct bt878 bt878[BT878_MAX];
+
void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin,
u32 irq_err_ignore);
void bt878_stop(struct bt878 *bt);
On Tue, Mar 15, 2005 at 02:59:08PM +0100, Mikael Pettersson wrote:
> Fix one array-of-incomplete-type error from gcc4 in bt878.h.
Applied to linuxtv.org CVS.
Thanks,
Johannes