Message ID | 152156501473.183971.10164660837276962553@swboyd.mtv.corp.google.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/clk/davinci/pll.c b/drivers/clk/davinci/pll.c index 588a48927436..89d30bf95102 100644 --- a/drivers/clk/davinci/pll.c +++ b/drivers/clk/davinci/pll.c @@ -882,7 +882,7 @@ static int davinci_pll_debug_init(struct clk_hw *hw, struct dentry *dentry) struct debugfs_regset32 *regset; struct dentry *d; - regset = kzalloc(sizeof(regset), GFP_KERNEL); + regset = kzalloc(sizeof(*regset), GFP_KERNEL); if (!regset) return -ENOMEM;