mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 18:07:03 +00:00
[CPUFREQ] kzalloc conversion for gx-suspmod
Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
388d6c5180
commit
84f0b1ef8c
@ -459,10 +459,9 @@ static int __init cpufreq_gx_init(void)
|
||||
|
||||
dprintk("geode suspend modulation available.\n");
|
||||
|
||||
params = kmalloc(sizeof(struct gxfreq_params), GFP_KERNEL);
|
||||
params = kzalloc(sizeof(struct gxfreq_params), GFP_KERNEL);
|
||||
if (params == NULL)
|
||||
return -ENOMEM;
|
||||
memset(params, 0, sizeof(struct gxfreq_params));
|
||||
|
||||
params->cs55x0 = gx_pci;
|
||||
gx_params = params;
|
||||
|
Loading…
Reference in New Issue
Block a user