diff --git a/include/linux/energy_model.h b/include/linux/energy_model.h
index d249b88a4d5a731e1bd2dd42e019a123909b9d48..ade6486a3382486752868509838da30da7134f68 100644
--- a/include/linux/energy_model.h
+++ b/include/linux/energy_model.h
@@ -36,7 +36,7 @@ struct em_cap_state {
 struct em_perf_domain {
 	struct em_cap_state *table;
 	int nr_cap_states;
-	unsigned long cpus[0];
+	unsigned long cpus[];
 };
 
 #ifdef CONFIG_ENERGY_MODEL