diff options
author | Holger Waechtler <devnull@localhost> | 2003-11-25 15:14:50 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-11-25 15:14:50 +0000 |
commit | d7be13e1fd1e2fc42ae256b5a7d5843ebe8dc9e5 (patch) | |
tree | 3227818ce2c1199235a5dc07995c44ab8f4292ae /linux/drivers/media/dvb/frontends/sp887x.c | |
parent | f73c0eb42434a4ae0402e00d950f7d8ce9a3e83a (diff) | |
download | mediapointer-dvb-s2-d7be13e1fd1e2fc42ae256b5a7d5843ebe8dc9e5.tar.gz mediapointer-dvb-s2-d7be13e1fd1e2fc42ae256b5a7d5843ebe8dc9e5.tar.bz2 |
make it compile with non-C99-compliant gcc versions. Patch contributed by Wolfgang Thiel
Diffstat (limited to 'linux/drivers/media/dvb/frontends/sp887x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/sp887x.c | 3 |
1 files changed, 2 insertions, 1 deletions
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()); |