Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431873 > unrolled thread

[PATCH 1/3] intel_pstate: Fix incorrect placement of __initdata

Started byJisheng Zhang <jszhang@marvell.com>
First post2016-06-27 11:40 +0200
Last post2016-06-27 11:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/3] intel_pstate: Fix incorrect placement of __initdata Jisheng Zhang <jszhang@marvell.com> - 2016-06-27 11:40 +0200

#1431873 — [PATCH 1/3] intel_pstate: Fix incorrect placement of __initdata

FromJisheng Zhang <jszhang@marvell.com>
Date2016-06-27 11:40 +0200
Subject[PATCH 1/3] intel_pstate: Fix incorrect placement of __initdata
Message-ID<rOBbk-6NY-39@gated-at.bofh.it>
__initdata should be placed between the variable name and equal sign
(if there is) for the variable to be placed in the intended section.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 drivers/cpufreq/intel_pstate.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index fe9dc17..44099e9 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -1574,9 +1574,9 @@ static struct cpufreq_driver intel_pstate_driver = {
 	.name		= "intel_pstate",
 };
 
-static int __initdata no_load;
-static int __initdata no_hwp;
-static int __initdata hwp_only;
+static int no_load __initdata;
+static int no_hwp __initdata;
+static int hwp_only __initdata;
 static unsigned int force_load;
 
 static int intel_pstate_msrs_not_valid(void)
-- 
2.8.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web