From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jisheng Zhang Subject: [PATCH v2 1/3] intel_pstate: Fix incorrect placement of __initdata Date: Mon, 27 Jun 2016 18:07:16 +0800 Message-ID: <1467022038-924-2-git-send-email-jszhang@marvell.com> References: <1467022038-924-1-git-send-email-jszhang@marvell.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1467022038-924-1-git-send-email-jszhang@marvell.com> Sender: linux-kernel-owner@vger.kernel.org To: srinivas.pandruvada@linux.intel.com, lenb@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Jisheng Zhang List-Id: linux-pm@vger.kernel.org __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 Acked-by: Viresh Kumar --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751949AbcF0KLl (ORCPT ); Mon, 27 Jun 2016 06:11:41 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:37538 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbcF0KLf (ORCPT ); Mon, 27 Jun 2016 06:11:35 -0400 From: Jisheng Zhang To: , , , CC: , , Jisheng Zhang Subject: [PATCH v2 1/3] intel_pstate: Fix incorrect placement of __initdata Date: Mon, 27 Jun 2016 18:07:16 +0800 Message-ID: <1467022038-924-2-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1467022038-924-1-git-send-email-jszhang@marvell.com> References: <1467022038-924-1-git-send-email-jszhang@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-27_06:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606270114 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __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 Acked-by: Viresh Kumar --- 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