summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib7000p.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-28 00:09:45 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 17:58:31 +0200
commit0b42760a75afb852be6718fb5e6b54988123b40e (patch)
tree4b41e8bc5d4e4b074d1edc966eef274254ce5ecb /drivers/media/dvb/frontends/dib7000p.c
parentV4L/DVB: dib7000p: reduce large stack usage (diff)
downloadlinux-0b42760a75afb852be6718fb5e6b54988123b40e.tar.xz
linux-0b42760a75afb852be6718fb5e6b54988123b40e.zip
V4L/DVB: dib7000p: reduce large stack usage fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dib7000p.c')
-rw-r--r--drivers/media/dvb/frontends/dib7000p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c
index 113fc1394d5d..2e28b973dfd3 100644
--- a/drivers/media/dvb/frontends/dib7000p.c
+++ b/drivers/media/dvb/frontends/dib7000p.c
@@ -1330,7 +1330,7 @@ int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defau
dpst = kzalloc(sizeof(struct dib7000p_state), GFP_KERNEL);
if (!dpst)
- return -ENODEV;
+ return -ENOMEM;
dpst->i2c_adap = i2c;