Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4916e118
Commit
4916e118
authored
Jul 24, 2002
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use C99 initializers (Rusty Russell)
parent
6050790e
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
96 additions
and
96 deletions
+96
-96
drivers/acpi/ac.c
drivers/acpi/ac.c
+8
-8
drivers/acpi/battery.c
drivers/acpi/battery.c
+8
-8
drivers/acpi/bus.c
drivers/acpi/bus.c
+5
-5
drivers/acpi/button.c
drivers/acpi/button.c
+8
-8
drivers/acpi/fan.c
drivers/acpi/fan.c
+8
-8
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+1
-1
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+8
-8
drivers/acpi/pci_root.c
drivers/acpi/pci_root.c
+8
-8
drivers/acpi/power.c
drivers/acpi/power.c
+8
-8
drivers/acpi/processor.c
drivers/acpi/processor.c
+8
-8
drivers/acpi/system.c
drivers/acpi/system.c
+18
-18
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+8
-8
No files found.
drivers/acpi/ac.c
View file @
4916e118
/*
/*
* acpi_ac.c - ACPI AC Adapter Driver ($Revision: 2
6
$)
* acpi_ac.c - ACPI AC Adapter Driver ($Revision: 2
7
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -47,13 +47,13 @@ int acpi_ac_add (struct acpi_device *device);
...
@@ -47,13 +47,13 @@ int acpi_ac_add (struct acpi_device *device);
int
acpi_ac_remove
(
struct
acpi_device
*
device
,
int
type
);
int
acpi_ac_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_ac_driver
=
{
static
struct
acpi_driver
acpi_ac_driver
=
{
name:
ACPI_AC_DRIVER_NAME
,
.
name
=
ACPI_AC_DRIVER_NAME
,
class:
ACPI_AC_CLASS
,
.
class
=
ACPI_AC_CLASS
,
ids:
ACPI_AC_HID
,
.
ids
=
ACPI_AC_HID
,
ops:
{
.
ops
=
{
add:
acpi_ac_add
,
.
add
=
acpi_ac_add
,
remove:
acpi_ac_remove
,
.
remove
=
acpi_ac_remove
,
},
},
};
};
struct
acpi_ac
{
struct
acpi_ac
{
...
...
drivers/acpi/battery.c
View file @
4916e118
/*
/*
* acpi_battery.c - ACPI Battery Driver ($Revision: 3
6
$)
* acpi_battery.c - ACPI Battery Driver ($Revision: 3
7
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -52,13 +52,13 @@ static int acpi_battery_add (struct acpi_device *device);
...
@@ -52,13 +52,13 @@ static int acpi_battery_add (struct acpi_device *device);
static
int
acpi_battery_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_battery_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_battery_driver
=
{
static
struct
acpi_driver
acpi_battery_driver
=
{
name:
ACPI_BATTERY_DRIVER_NAME
,
.
name
=
ACPI_BATTERY_DRIVER_NAME
,
class:
ACPI_BATTERY_CLASS
,
.
class
=
ACPI_BATTERY_CLASS
,
ids:
ACPI_BATTERY_HID
,
.
ids
=
ACPI_BATTERY_HID
,
ops:
{
.
ops
=
{
add:
acpi_battery_add
,
.
add
=
acpi_battery_add
,
remove:
acpi_battery_remove
,
.
remove
=
acpi_battery_remove
,
},
},
};
};
struct
acpi_battery_status
{
struct
acpi_battery_status
{
...
...
drivers/acpi/bus.c
View file @
4916e118
/*
/*
* acpi_bus.c - ACPI Bus Driver ($Revision:
79
$)
* acpi_bus.c - ACPI Bus Driver ($Revision:
80
$)
*
*
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
*
*
...
@@ -97,10 +97,10 @@ static int acpi_device_suspend(struct device *dev, u32 state, u32 stage);
...
@@ -97,10 +97,10 @@ static int acpi_device_suspend(struct device *dev, u32 state, u32 stage);
static
int
acpi_device_resume
(
struct
device
*
dev
,
u32
stage
);
static
int
acpi_device_resume
(
struct
device
*
dev
,
u32
stage
);
static
struct
device_driver
acpi_bus_driver
=
{
static
struct
device_driver
acpi_bus_driver
=
{
probe:
acpi_device_probe
,
.
probe
=
acpi_device_probe
,
remove:
acpi_device_remove
,
.
remove
=
acpi_device_remove
,
suspend:
acpi_device_suspend
,
.
suspend
=
acpi_device_suspend
,
resume:
acpi_device_resume
,
.
resume
=
acpi_device_resume
,
};
};
...
...
drivers/acpi/button.c
View file @
4916e118
/*
/*
* acpi_button.c - ACPI Button Driver ($Revision:
29
$)
* acpi_button.c - ACPI Button Driver ($Revision:
30
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -47,13 +47,13 @@ int acpi_button_add (struct acpi_device *device);
...
@@ -47,13 +47,13 @@ int acpi_button_add (struct acpi_device *device);
int
acpi_button_remove
(
struct
acpi_device
*
device
,
int
type
);
int
acpi_button_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_button_driver
=
{
static
struct
acpi_driver
acpi_button_driver
=
{
name:
ACPI_BUTTON_DRIVER_NAME
,
.
name
=
ACPI_BUTTON_DRIVER_NAME
,
class:
ACPI_BUTTON_CLASS
,
.
class
=
ACPI_BUTTON_CLASS
,
ids:
"ACPI_FPB,ACPI_FSB,PNP0C0D,PNP0C0C,PNP0C0E"
,
.
ids
=
"ACPI_FPB,ACPI_FSB,PNP0C0D,PNP0C0C,PNP0C0E"
,
ops:
{
.
ops
=
{
add:
acpi_button_add
,
.
add
=
acpi_button_add
,
remove:
acpi_button_remove
,
.
remove
=
acpi_button_remove
,
},
},
};
};
struct
acpi_button
{
struct
acpi_button
{
...
...
drivers/acpi/fan.c
View file @
4916e118
/*
/*
* acpi_fan.c - ACPI Fan Driver ($Revision: 2
8
$)
* acpi_fan.c - ACPI Fan Driver ($Revision: 2
9
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -47,13 +47,13 @@ int acpi_fan_add (struct acpi_device *device);
...
@@ -47,13 +47,13 @@ int acpi_fan_add (struct acpi_device *device);
int
acpi_fan_remove
(
struct
acpi_device
*
device
,
int
type
);
int
acpi_fan_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_fan_driver
=
{
static
struct
acpi_driver
acpi_fan_driver
=
{
name:
ACPI_FAN_DRIVER_NAME
,
.
name
=
ACPI_FAN_DRIVER_NAME
,
class:
ACPI_FAN_CLASS
,
.
class
=
ACPI_FAN_CLASS
,
ids:
ACPI_FAN_HID
,
.
ids
=
ACPI_FAN_HID
,
ops:
{
.
ops
=
{
add:
acpi_fan_add
,
.
add
=
acpi_fan_add
,
remove:
acpi_fan_remove
,
.
remove
=
acpi_fan_remove
,
},
},
};
};
struct
acpi_fan
{
struct
acpi_fan
{
...
...
drivers/acpi/pci_irq.c
View file @
4916e118
/*
/*
* pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 1
0
$)
* pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 1
1
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
...
drivers/acpi/pci_link.c
View file @
4916e118
/*
/*
* pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 3
3
$)
* pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 3
4
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -54,13 +54,13 @@ static int acpi_pci_link_add (struct acpi_device *device);
...
@@ -54,13 +54,13 @@ static int acpi_pci_link_add (struct acpi_device *device);
static
int
acpi_pci_link_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_pci_link_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_pci_link_driver
=
{
static
struct
acpi_driver
acpi_pci_link_driver
=
{
name:
ACPI_PCI_LINK_DRIVER_NAME
,
.
name
=
ACPI_PCI_LINK_DRIVER_NAME
,
class:
ACPI_PCI_LINK_CLASS
,
.
class
=
ACPI_PCI_LINK_CLASS
,
ids:
ACPI_PCI_LINK_HID
,
.
ids
=
ACPI_PCI_LINK_HID
,
ops:
{
.
ops
=
{
add:
acpi_pci_link_add
,
.
add
=
acpi_pci_link_add
,
remove:
acpi_pci_link_remove
,
.
remove
=
acpi_pci_link_remove
,
},
},
};
};
struct
acpi_pci_link_irq
{
struct
acpi_pci_link_irq
{
...
...
drivers/acpi/pci_root.c
View file @
4916e118
/*
/*
* pci_root.c - ACPI PCI Root Bridge Driver ($Revision:
39
$)
* pci_root.c - ACPI PCI Root Bridge Driver ($Revision:
40
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -47,13 +47,13 @@ static int acpi_pci_root_add (struct acpi_device *device);
...
@@ -47,13 +47,13 @@ static int acpi_pci_root_add (struct acpi_device *device);
static
int
acpi_pci_root_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_pci_root_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_pci_root_driver
=
{
static
struct
acpi_driver
acpi_pci_root_driver
=
{
name:
ACPI_PCI_ROOT_DRIVER_NAME
,
.
name
=
ACPI_PCI_ROOT_DRIVER_NAME
,
class:
ACPI_PCI_ROOT_CLASS
,
.
class
=
ACPI_PCI_ROOT_CLASS
,
ids:
ACPI_PCI_ROOT_HID
,
.
ids
=
ACPI_PCI_ROOT_HID
,
ops:
{
.
ops
=
{
add:
acpi_pci_root_add
,
.
add
=
acpi_pci_root_add
,
remove:
acpi_pci_root_remove
,
.
remove
=
acpi_pci_root_remove
,
},
},
};
};
struct
acpi_pci_root
{
struct
acpi_pci_root
{
...
...
drivers/acpi/power.c
View file @
4916e118
/*
/*
* acpi_power.c - ACPI Bus Power Management ($Revision: 3
8
$)
* acpi_power.c - ACPI Bus Power Management ($Revision: 3
9
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -43,13 +43,13 @@ int acpi_power_add (struct acpi_device *device);
...
@@ -43,13 +43,13 @@ int acpi_power_add (struct acpi_device *device);
int
acpi_power_remove
(
struct
acpi_device
*
device
,
int
type
);
int
acpi_power_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_power_driver
=
{
static
struct
acpi_driver
acpi_power_driver
=
{
name:
ACPI_POWER_DRIVER_NAME
,
.
name
=
ACPI_POWER_DRIVER_NAME
,
class:
ACPI_POWER_CLASS
,
.
class
=
ACPI_POWER_CLASS
,
ids:
ACPI_POWER_HID
,
.
ids
=
ACPI_POWER_HID
,
ops:
{
.
ops
=
{
add:
acpi_power_add
,
.
add
=
acpi_power_add
,
remove:
acpi_power_remove
,
.
remove
=
acpi_power_remove
,
},
},
};
};
struct
acpi_power_resource
struct
acpi_power_resource
...
...
drivers/acpi/processor.c
View file @
4916e118
/*
/*
* acpi_processor.c - ACPI Processor Driver ($Revision:
69
$)
* acpi_processor.c - ACPI Processor Driver ($Revision:
71
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -78,13 +78,13 @@ static int acpi_processor_add (struct acpi_device *device);
...
@@ -78,13 +78,13 @@ static int acpi_processor_add (struct acpi_device *device);
static
int
acpi_processor_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_processor_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_processor_driver
=
{
static
struct
acpi_driver
acpi_processor_driver
=
{
name:
ACPI_PROCESSOR_DRIVER_NAME
,
.
name
=
ACPI_PROCESSOR_DRIVER_NAME
,
class:
ACPI_PROCESSOR_CLASS
,
.
class
=
ACPI_PROCESSOR_CLASS
,
ids:
ACPI_PROCESSOR_HID
,
.
ids
=
ACPI_PROCESSOR_HID
,
ops:
{
.
ops
=
{
add:
acpi_processor_add
,
.
add
=
acpi_processor_add
,
remove:
acpi_processor_remove
,
.
remove
=
acpi_processor_remove
,
},
},
};
};
/* Power Management */
/* Power Management */
...
...
drivers/acpi/system.c
View file @
4916e118
/*
/*
* acpi_system.c - ACPI System Driver ($Revision: 6
0
$)
* acpi_system.c - ACPI System Driver ($Revision: 6
3
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -63,13 +63,13 @@ static int acpi_system_add (struct acpi_device *device);
...
@@ -63,13 +63,13 @@ static int acpi_system_add (struct acpi_device *device);
static
int
acpi_system_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_system_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_system_driver
=
{
static
struct
acpi_driver
acpi_system_driver
=
{
name:
ACPI_SYSTEM_DRIVER_NAME
,
.
name
=
ACPI_SYSTEM_DRIVER_NAME
,
class:
ACPI_SYSTEM_CLASS
,
.
class
=
ACPI_SYSTEM_CLASS
,
ids:
ACPI_SYSTEM_HID
,
.
ids
=
ACPI_SYSTEM_HID
,
ops:
{
.
ops
=
{
add:
acpi_system_add
,
.
add
=
acpi_system_add
,
remove:
acpi_system_remove
.
remove
=
acpi_system_remove
},
},
};
};
struct
acpi_system
struct
acpi_system
...
@@ -383,10 +383,10 @@ static unsigned int acpi_system_poll_event(struct file *file, poll_table *wait);
...
@@ -383,10 +383,10 @@ static unsigned int acpi_system_poll_event(struct file *file, poll_table *wait);
static
struct
file_operations
acpi_system_event_ops
=
{
static
struct
file_operations
acpi_system_event_ops
=
{
open:
acpi_system_open_event
,
.
open
=
acpi_system_open_event
,
read:
acpi_system_read_event
,
.
read
=
acpi_system_read_event
,
release:
acpi_system_close_event
,
.
release
=
acpi_system_close_event
,
poll:
acpi_system_poll_event
,
.
poll
=
acpi_system_poll_event
,
};
};
static
int
static
int
...
@@ -479,7 +479,7 @@ acpi_system_poll_event(
...
@@ -479,7 +479,7 @@ acpi_system_poll_event(
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_dsdt_ops
=
{
static
struct
file_operations
acpi_system_dsdt_ops
=
{
read:
acpi_system_read_dsdt
,
.
read
=
acpi_system_read_dsdt
,
};
};
static
ssize_t
static
ssize_t
...
@@ -522,7 +522,7 @@ acpi_system_read_dsdt (
...
@@ -522,7 +522,7 @@ acpi_system_read_dsdt (
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
,
char
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_fadt_ops
=
{
static
struct
file_operations
acpi_system_fadt_ops
=
{
read:
acpi_system_read_fadt
,
.
read
=
acpi_system_read_fadt
,
};
};
static
ssize_t
static
ssize_t
...
@@ -1165,15 +1165,15 @@ acpi_system_remove_fs (
...
@@ -1165,15 +1165,15 @@ acpi_system_remove_fs (
/* Simple wrapper calling power down function. */
/* Simple wrapper calling power down function. */
static
void
acpi_sysrq_power_off
(
int
key
,
struct
pt_regs
*
pt_regs
,
static
void
acpi_sysrq_power_off
(
int
key
,
struct
pt_regs
*
pt_regs
,
struct
tty_struct
*
tty
)
struct
tty_struct
*
tty
)
{
{
acpi_power_off
();
acpi_power_off
();
}
}
struct
sysrq_key_op
sysrq_acpi_poweroff_op
=
{
struct
sysrq_key_op
sysrq_acpi_poweroff_op
=
{
handler:
&
acpi_sysrq_power_off
,
.
handler
=
&
acpi_sysrq_power_off
,
help_msg:
"Off"
,
.
help_msg
=
"Off"
,
action_msg:
"Power Off
\n
"
.
action_msg
=
"Power Off
\n
"
};
};
#endif
/* CONFIG_MAGIC_SYSRQ */
#endif
/* CONFIG_MAGIC_SYSRQ */
...
...
drivers/acpi/thermal.c
View file @
4916e118
/*
/*
* acpi_thermal.c - ACPI Thermal Zone Driver ($Revision: 4
0
$)
* acpi_thermal.c - ACPI Thermal Zone Driver ($Revision: 4
1
$)
*
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
...
@@ -65,13 +65,13 @@ static int acpi_thermal_add (struct acpi_device *device);
...
@@ -65,13 +65,13 @@ static int acpi_thermal_add (struct acpi_device *device);
static
int
acpi_thermal_remove
(
struct
acpi_device
*
device
,
int
type
);
static
int
acpi_thermal_remove
(
struct
acpi_device
*
device
,
int
type
);
static
struct
acpi_driver
acpi_thermal_driver
=
{
static
struct
acpi_driver
acpi_thermal_driver
=
{
name:
ACPI_THERMAL_DRIVER_NAME
,
.
name
=
ACPI_THERMAL_DRIVER_NAME
,
class:
ACPI_THERMAL_CLASS
,
.
class
=
ACPI_THERMAL_CLASS
,
ids:
ACPI_THERMAL_HID
,
.
ids
=
ACPI_THERMAL_HID
,
ops:
{
.
ops
=
{
add:
acpi_thermal_add
,
.
add
=
acpi_thermal_add
,
remove:
acpi_thermal_remove
,
.
remove
=
acpi_thermal_remove
,
},
},
};
};
struct
acpi_thermal_state
{
struct
acpi_thermal_state
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment