V4L/DVB: "dib3000mc: reduce large stack usage" fix

s/ENODEV/ENOMEM, per Andreas.

This fix got lost when someone merged "dib3000mc: reduce large stack
usage".  Please don't lose fixes.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Andrew Morton 2010-07-20 19:22:42 -03:00 коммит произвёл Mauro Carvalho Chehab
Родитель 37b58bfe4b
Коммит febe2ea10e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -822,7 +822,7 @@ int dib3000mc_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defa
dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL);
if (dmcst == NULL)
return -ENODEV;
return -ENOMEM;
dmcst->i2c_adap = i2c;