V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly
[pandora-kernel.git] / drivers / media / dvb / frontends / tda8083.c
index 5b843b2..9369f74 100644 (file)
@@ -417,7 +417,7 @@ struct dvb_frontend* tda8083_attach(const struct tda8083_config* config,
        struct tda8083_state* state = NULL;
 
        /* allocate memory for the internal state */
-       state = kmalloc(sizeof(struct tda8083_state), GFP_KERNEL);
+       state = kzalloc(sizeof(struct tda8083_state), GFP_KERNEL);
        if (state == NULL) goto error;
 
        /* setup the state */