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

From: Mikael Pettersson
Date: Tue Mar 15 2005 - 09:01:47 EST


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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/