summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/mt312.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-11 13:56:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-11 13:56:40 -0300
commit6971a9d650f6ab06dfedc4464665366c87da4bbc (patch)
tree6274d376e8d2ee13a4fecb2d0f9e294bc35935ef /linux/drivers/media/dvb/frontends/mt312.c
parent6355bbe94603dee693331f5ae62c8c1a109a8007 (diff)
parent796c449e9807bc070a33bcbbab2f4cae6cfc6d14 (diff)
downloadmediapointer-dvb-s2-6971a9d650f6ab06dfedc4464665366c87da4bbc.tar.gz
mediapointer-dvb-s2-6971a9d650f6ab06dfedc4464665366c87da4bbc.tar.bz2
merge: http://www.kernellabs.com/hg/~dheitmueller/ttxs-remote/
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/mt312.c')
-rw-r--r--linux/drivers/media/dvb/frontends/mt312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt312.c b/linux/drivers/media/dvb/frontends/mt312.c
index f348f8bea..4d14f084d 100644
--- a/linux/drivers/media/dvb/frontends/mt312.c
+++ b/linux/drivers/media/dvb/frontends/mt312.c
@@ -784,7 +784,7 @@ struct dvb_frontend *mt312_attach(const struct mt312_config *config,
struct mt312_state *state = NULL;
/* allocate memory for the internal state */
- state = kmalloc(sizeof(struct mt312_state), GFP_KERNEL);
+ state = kzalloc(sizeof(struct mt312_state), GFP_KERNEL);
if (state == NULL)
goto error;