request_module("i2c-powermac");
#endif /* CONFIG_KMOD */
- mix = kzalloc(sizeof(*mix), GFP_KERNEL);
+ mix = kmalloc(sizeof(*mix), GFP_KERNEL);
if (! mix)
return -ENOMEM;
+ memset(mix, 0, sizeof(*mix));
chip->mixer_data = mix;
chip->mixer_free = daca_cleanup;
mix->amp_on = 1; /* default on */