From e76152b935df8a52a16ee526f6573e7e4d41e6d7 Mon Sep 17 00:00:00 2001 From: Johannes Stezenbach Date: Wed, 16 Mar 2005 21:20:35 +0000 Subject: patch by Mikael Pettersson: Fix one array-of-incomplete-type error from gcc4 in bt878.h. --- linux/drivers/media/dvb/bt8xx/bt878.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/bt8xx/bt878.h b/linux/drivers/media/dvb/bt8xx/bt878.h index 36725aaf5..837623f7f 100644 --- a/linux/drivers/media/dvb/bt8xx/bt878.h +++ b/linux/drivers/media/dvb/bt8xx/bt878.h @@ -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); -- cgit v1.2.3