Skip to content

Commit

Permalink
intel_pstate: Fix incorrect placement of __initdata
Browse files Browse the repository at this point in the history
__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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Jisheng Zhang authored and Rafael J. Wysocki committed Jun 27, 2016
1 parent 56b7808 commit eed4360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1596,9 +1596,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)
Expand Down

0 comments on commit eed4360

Please sign in to comment.