mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 21:02:35 +00:00
[CPUFREQ] Fix section mismatch warning
Make the sections proper and get rid of section mismatch warnings. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
0e37b159aa
commit
0497c8ca28
@ -396,13 +396,13 @@ static int acpi_cpufreq_early_init_acpi(void)
|
|||||||
*/
|
*/
|
||||||
static int bios_with_sw_any_bug;
|
static int bios_with_sw_any_bug;
|
||||||
|
|
||||||
static int __init sw_any_bug_found(struct dmi_system_id *d)
|
static int sw_any_bug_found(struct dmi_system_id *d)
|
||||||
{
|
{
|
||||||
bios_with_sw_any_bug = 1;
|
bios_with_sw_any_bug = 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dmi_system_id __initdata sw_any_bug_dmi_table[] = {
|
static struct dmi_system_id sw_any_bug_dmi_table[] = {
|
||||||
{
|
{
|
||||||
.callback = sw_any_bug_found,
|
.callback = sw_any_bug_found,
|
||||||
.ident = "Supermicro Server X6DLP",
|
.ident = "Supermicro Server X6DLP",
|
||||||
|
@ -386,7 +386,7 @@ static int centrino_cpu_early_init_acpi(void)
|
|||||||
* than OS intended it to run at. Detect it and handle it cleanly.
|
* than OS intended it to run at. Detect it and handle it cleanly.
|
||||||
*/
|
*/
|
||||||
static int bios_with_sw_any_bug;
|
static int bios_with_sw_any_bug;
|
||||||
static int __init sw_any_bug_found(struct dmi_system_id *d)
|
static int sw_any_bug_found(struct dmi_system_id *d)
|
||||||
{
|
{
|
||||||
bios_with_sw_any_bug = 1;
|
bios_with_sw_any_bug = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user