From d7be13e1fd1e2fc42ae256b5a7d5843ebe8dc9e5 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Tue, 25 Nov 2003 15:14:50 +0000 Subject: make it compile with non-C99-compliant gcc versions. Patch contributed by Wolfgang Thiel --- linux/drivers/media/dvb/frontends/sp887x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c index b25c3ff2f..e38caab15 100644 --- a/linux/drivers/media/dvb/frontends/sp887x.c +++ b/linux/drivers/media/dvb/frontends/sp887x.c @@ -197,6 +197,7 @@ int sp887x_initial_setup (struct dvb_frontend *fe) int fd; int filesize; int fw_size; + mm_segment_t fs; dprintk("%s\n", __FUNCTION__); @@ -205,7 +206,7 @@ int sp887x_initial_setup (struct dvb_frontend *fe) sp887x_microcontroller_stop (fe); - mm_segment_t fs = get_fs(); + fs = get_fs(); // Load the firmware set_fs(get_ds()); -- cgit v1.2.3