diff options
author | Matthias Benesch <twoof7@freenet.de> | 2009-10-04 15:00:42 +0200 |
---|---|---|
committer | Matthias Benesch <twoof7@freenet.de> | 2009-10-04 15:00:42 +0200 |
commit | 858c76725dd04c8b802e1d72d5f70eefe04484aa (patch) | |
tree | ec22fde9464263893a6582fb743f8d0aad178f2a | |
parent | 4f6aa2cac3fdd2487ae54417472216869759314a (diff) | |
download | mediapointer-dvb-s2-858c76725dd04c8b802e1d72d5f70eefe04484aa.tar.gz mediapointer-dvb-s2-858c76725dd04c8b802e1d72d5f70eefe04484aa.tar.bz2 |
Small bugfixing.
Replaced integer "ret" by integer "err".
-rw-r--r-- | linux/drivers/media/video/ngene/ngene-snd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/ngene/ngene-snd.c b/linux/drivers/media/video/ngene/ngene-snd.c index 28348b4c9..36e796ed4 100644 --- a/linux/drivers/media/video/ngene/ngene-snd.c +++ b/linux/drivers/media/video/ngene/ngene-snd.c @@ -389,10 +389,10 @@ int ngene_snd_init(struct ngene_channel *chan) if (card == NULL) return -ENOMEM; #else - int ret = snd_card_create(index[sound_dev], id[sound_dev], THIS_MODULE, + err = snd_card_create(index[sound_dev], id[sound_dev], THIS_MODULE, sizeof(struct mychip), &card); - if (ret < 0) - return ret; + if (err < 0) + return err; #endif chip= card->private_data; |