Skip to contentSkip to conversation

[2.6.11] drivers/media/dvb/bt8xx/bt878.h gcc4 fix

PATCH Applied Mikael Pettersson 2 participants 2 messages Mar 15, 2005 – Mar 16, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.6.11] drivers/media/dvb/bt8xx/bt878.h gcc4 fix

Fix one array-of-incomplete-type error from gcc4 in bt878.h.

/Mikael

drivers/media/dvb/bt8xx/bt878.h renamed from drivers/media/dvb/bt8xx/bt878.h.~1~ +2 -1
@@ -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);	     
#1 lore raw
Quoted 1 line · Mikael Pettersson

Fix one array-of-incomplete-type error from gcc4 in bt878.h.

Applied to linuxtv.org CVS.

Thanks,
Johannes