summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/saa7706h.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/saa7706h.c')
-rw-r--r--drivers/media/radio/saa7706h.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c
index 585680ffbfb6..b1193dfc5087 100644
--- a/drivers/media/radio/saa7706h.c
+++ b/drivers/media/radio/saa7706h.c
@@ -376,7 +376,7 @@ static int __devinit saa7706h_probe(struct i2c_client *client,
v4l_info(client, "chip found @ 0x%02x (%s)\n",
client->addr << 1, client->adapter->name);
- state = kmalloc(sizeof(struct saa7706h_state), GFP_KERNEL);
+ state = kzalloc(sizeof(struct saa7706h_state), GFP_KERNEL);
if (state == NULL)
return -ENOMEM;
sd = &state->sd;
OpenPOWER on IntegriCloud