mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 15:21:39 +00:00
13 lines
511 B
Diff
13 lines
511 B
Diff
diff --git a/drivers/cpufreq/autohotplug.c b/drivers/cpufreq/autohotplug.c
|
|
index 3f7a41a4..d94248c3 100755
|
|
--- a/drivers/cpufreq/autohotplug.c
|
|
+++ b/drivers/cpufreq/autohotplug.c
|
|
@@ -940,7 +940,7 @@ void autohotplug_attr_add(const char *name, unsigned int *value, umode_t mode,
|
|
|
|
static int autohotplug_attr_init(void)
|
|
{
|
|
- memset(&autohotplug_data, sizeof(autohotplug_data), 0);
|
|
+ memset(&autohotplug_data, 0, sizeof(autohotplug_data));
|
|
|
|
#ifdef CONFIG_CPU_AUTOHOTPLUG_STATS
|
|
autohotplug_attr_stats_init();
|