summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-03-16 21:20:35 +0000
committerJohannes Stezenbach <devnull@localhost>2005-03-16 21:20:35 +0000
commite76152b935df8a52a16ee526f6573e7e4d41e6d7 (patch)
treef6472e2a508d74b51e0da5ca9fc0070700a72abe /linux/drivers/media/dvb
parente7c6e769d8a678799107d69140fb5f71c6d122ca (diff)
downloadmediapointer-dvb-s2-e76152b935df8a52a16ee526f6573e7e4d41e6d7.tar.gz
mediapointer-dvb-s2-e76152b935df8a52a16ee526f6573e7e4d41e6d7.tar.bz2
patch by Mikael Pettersson:
Fix one array-of-incomplete-type error from gcc4 in bt878.h.
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/bt8xx/bt878.h3
1 files changed, 2 insertions, 1 deletions
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);