intel_idle: make intel_idle_state_table_update() static
PATCH 1/1 intel_idle: make intel_idle_state_table_update() static
intel_idle_state_table_update() is only used internally in intel_idle, so make it static.
Signed-off-by Jisheng Zhang <[email protected]>
--- drivers/idle/intel_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/idle/intel_idle.c +1 -1
@@ -1001,7 +1001,7 @@ static void intel_idle_cpuidle_devices_uninit(void)* Currently used to access tuned IVT multi-socket targets * Assumption: num_sockets == (max_package_num + 1) */ -void intel_idle_state_table_update (void ) +static void intel_idle_state_table_update (void ) {/* IVT uses a different table for 1-2, 3-4, and > 4 sockets */ if (boot_cpu_data.x86_model ==0x3e ) {/* IVT */
Signature · 1 line
2.8.0.rc3
Len Brown
reviewerThank you Jisheng, for pointing this out.
your patch conflicts with a patch already in-flight, so I'll not apply it directly,
but I will fix this problem straight away.
thanks,
Len Brown, Intel Open Source Technology Center
Quoted 24 lines · Jisheng Zhang
intel_idle_state_table_update()is only used internally inintel_idle, so make it static.Signed-off-by Jisheng Zhang <[email protected]>--- drivers/idle/intel_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/idle/intel_idle.c +1
-2@@ -1001,7 +1001,7 @@ static void intel_idle_cpuidle_devices_uninit(void)* Currently used to access tuned IVT multi-socket targets * Assumption: num_sockets == (max_package_num + 1) */ -void intel_idle_state_table_update (void ) +static void intel_idle_state_table_update (void ) {/* IVT uses a different table for 1-2, 3-4, and > 4 sockets */ if (boot_cpu_data.x86_model ==0x3e ) {/* IVT */ --2.8.0.rc3
Signature · 1 line
Len Brown, Intel Open Source Technology Center