diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c index b26f28db9bb9..2257b2fa3c7f 100644 --- a/drivers/staging/media/cxd2099/cxd2099.c +++ b/drivers/staging/media/cxd2099/cxd2099.c @@ -693,7 +693,7 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, return NULL; } - ci = kzalloc(sizeof(struct cxd), GFP_KERNEL); + ci = kzalloc(sizeof(*ci), GFP_KERNEL); if (!ci) return NULL;