summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/si21xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/si21xx.c')
-rw-r--r--drivers/media/dvb/frontends/si21xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/si21xx.c b/drivers/media/dvb/frontends/si21xx.c
index 0bd16af..9552a22 100644
--- a/drivers/media/dvb/frontends/si21xx.c
+++ b/drivers/media/dvb/frontends/si21xx.c
@@ -928,7 +928,7 @@ struct dvb_frontend *si21xx_attach(const struct si21xx_config *config,
dprintk("%s\n", __func__);
/* allocate memory for the internal state */
- state = kmalloc(sizeof(struct si21xx_state), GFP_KERNEL);
+ state = kzalloc(sizeof(struct si21xx_state), GFP_KERNEL);
if (state == NULL)
goto error;
OpenPOWER on IntegriCloud