aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/stb6100.c
diff options
context:
space:
mode:
authorMarko Schluessler <marco@lordzodiac.de>2007-09-21 18:13:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:15 -0200
commita18d43156a09e57dada62b1c51f229a6d0da02d6 (patch)
tree614a6457e10189466a880f3eeee93819c2df62b1 /drivers/media/dvb/frontends/stb6100.c
parent3e3263e6654ca22c317fb4d49eea3b940613b3ba (diff)
V4L/DVB (9389): Use kzalloc instead of kmalloc
Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb6100.c')
-rw-r--r--drivers/media/dvb/frontends/stb6100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c
index eeed7b41acb..234ca7344a1 100644
--- a/drivers/media/dvb/frontends/stb6100.c
+++ b/drivers/media/dvb/frontends/stb6100.c
@@ -527,7 +527,7 @@ struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe,
{
struct stb6100_state *state = NULL;
- state = kmalloc(sizeof (struct stb6100_state), GFP_KERNEL);
+ state = kzalloc(sizeof (struct stb6100_state), GFP_KERNEL);
if (state == NULL)
goto error;