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
1a39ed58
Commit
1a39ed58
authored
Jul 10, 2006
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull trivial into test branch
parents
1b045e5d
d7508032
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
30 additions
and
32 deletions
+30
-32
drivers/acpi/Kconfig
drivers/acpi/Kconfig
+0
-2
drivers/acpi/ac.c
drivers/acpi/ac.c
+1
-1
drivers/acpi/battery.c
drivers/acpi/battery.c
+3
-3
drivers/acpi/bus.c
drivers/acpi/bus.c
+2
-2
drivers/acpi/button.c
drivers/acpi/button.c
+2
-2
drivers/acpi/ec.c
drivers/acpi/ec.c
+1
-1
drivers/acpi/event.c
drivers/acpi/event.c
+1
-1
drivers/acpi/fan.c
drivers/acpi/fan.c
+1
-1
drivers/acpi/hotkey.c
drivers/acpi/hotkey.c
+5
-5
drivers/acpi/power.c
drivers/acpi/power.c
+1
-1
drivers/acpi/processor_core.c
drivers/acpi/processor_core.c
+1
-1
drivers/acpi/processor_idle.c
drivers/acpi/processor_idle.c
+1
-1
drivers/acpi/sleep/proc.c
drivers/acpi/sleep/proc.c
+3
-3
drivers/acpi/system.c
drivers/acpi/system.c
+3
-3
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+5
-5
No files found.
drivers/acpi/Kconfig
View file @
1a39ed58
...
...
@@ -107,7 +107,6 @@ config ACPI_BUTTON
config ACPI_VIDEO
tristate "Video"
depends on X86
default y
help
This driver implement the ACPI Extensions For Display Adapters
for integrated graphics devices on motherboard, as specified in
...
...
@@ -350,7 +349,6 @@ config ACPI_SBS
tristate "Smart Battery System (EXPERIMENTAL)"
depends on X86 && I2C
depends on EXPERIMENTAL
default y
help
This driver adds support for the Smart Battery System.
Depends on I2C (Device Drivers ---> I2C support)
...
...
drivers/acpi/ac.c
View file @
1a39ed58
...
...
@@ -72,7 +72,7 @@ struct acpi_ac {
unsigned
long
state
;
};
static
struct
file_operations
acpi_ac_fops
=
{
static
const
struct
file_operations
acpi_ac_fops
=
{
.
open
=
acpi_ac_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/battery.c
View file @
1a39ed58
...
...
@@ -557,7 +557,7 @@ static int acpi_battery_alarm_open_fs(struct inode *inode, struct file *file)
return
single_open
(
file
,
acpi_battery_read_alarm
,
PDE
(
inode
)
->
data
);
}
static
struct
file_operations
acpi_battery_info_ops
=
{
static
const
struct
file_operations
acpi_battery_info_ops
=
{
.
open
=
acpi_battery_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -565,7 +565,7 @@ static struct file_operations acpi_battery_info_ops = {
.
owner
=
THIS_MODULE
,
};
static
struct
file_operations
acpi_battery_state_ops
=
{
static
const
struct
file_operations
acpi_battery_state_ops
=
{
.
open
=
acpi_battery_state_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -573,7 +573,7 @@ static struct file_operations acpi_battery_state_ops = {
.
owner
=
THIS_MODULE
,
};
static
struct
file_operations
acpi_battery_alarm_ops
=
{
static
const
struct
file_operations
acpi_battery_alarm_ops
=
{
.
open
=
acpi_battery_alarm_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_battery_write_alarm
,
...
...
drivers/acpi/bus.c
View file @
1a39ed58
...
...
@@ -192,8 +192,8 @@ int acpi_bus_set_power(acpi_handle handle, int state)
/* Make sure this is a valid target state */
if
(
!
device
->
flags
.
power_manageable
)
{
printk
(
KERN_DEBUG
"Device `[%s]' is not power manageable"
,
device
->
kobj
.
name
);
ACPI_DEBUG_PRINT
((
ACPI_DB_INFO
,
"Device `[%s]' is not power manageable"
,
device
->
kobj
.
name
)
)
;
return
-
ENODEV
;
}
/*
...
...
drivers/acpi/button.c
View file @
1a39ed58
...
...
@@ -87,14 +87,14 @@ struct acpi_button {
unsigned
long
pushed
;
};
static
struct
file_operations
acpi_button_info_fops
=
{
static
const
struct
file_operations
acpi_button_info_fops
=
{
.
open
=
acpi_button_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
single_release
,
};
static
struct
file_operations
acpi_button_state_fops
=
{
static
const
struct
file_operations
acpi_button_state_fops
=
{
.
open
=
acpi_button_state_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/ec.c
View file @
1a39ed58
...
...
@@ -929,7 +929,7 @@ static int acpi_ec_info_open_fs(struct inode *inode, struct file *file)
return
single_open
(
file
,
acpi_ec_read_info
,
PDE
(
inode
)
->
data
);
}
static
struct
file_operations
acpi_ec_info_ops
=
{
static
const
struct
file_operations
acpi_ec_info_ops
=
{
.
open
=
acpi_ec_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/event.c
View file @
1a39ed58
...
...
@@ -99,7 +99,7 @@ static unsigned int acpi_system_poll_event(struct file *file, poll_table * wait)
return
0
;
}
static
struct
file_operations
acpi_system_event_ops
=
{
static
const
struct
file_operations
acpi_system_event_ops
=
{
.
open
=
acpi_system_open_event
,
.
read
=
acpi_system_read_event
,
.
release
=
acpi_system_close_event
,
...
...
drivers/acpi/fan.c
View file @
1a39ed58
...
...
@@ -120,7 +120,7 @@ acpi_fan_write_state(struct file *file, const char __user * buffer,
return
count
;
}
static
struct
file_operations
acpi_fan_state_ops
=
{
static
const
struct
file_operations
acpi_fan_state_ops
=
{
.
open
=
acpi_fan_state_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_fan_write_state
,
...
...
drivers/acpi/hotkey.c
View file @
1a39ed58
...
...
@@ -184,7 +184,7 @@ static union acpi_hotkey *get_hotkey_by_event(struct
*
hotkey_list
,
int
event
);
/* event based config */
static
struct
file_operations
hotkey_config_fops
=
{
static
const
struct
file_operations
hotkey_config_fops
=
{
.
open
=
hotkey_open_config
,
.
read
=
seq_read
,
.
write
=
hotkey_write_config
,
...
...
@@ -193,7 +193,7 @@ static struct file_operations hotkey_config_fops = {
};
/* polling based config */
static
struct
file_operations
hotkey_poll_config_fops
=
{
static
const
struct
file_operations
hotkey_poll_config_fops
=
{
.
open
=
hotkey_poll_open_config
,
.
read
=
seq_read
,
.
write
=
hotkey_write_config
,
...
...
@@ -202,7 +202,7 @@ static struct file_operations hotkey_poll_config_fops = {
};
/* hotkey driver info */
static
struct
file_operations
hotkey_info_fops
=
{
static
const
struct
file_operations
hotkey_info_fops
=
{
.
open
=
hotkey_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -210,7 +210,7 @@ static struct file_operations hotkey_info_fops = {
};
/* action */
static
struct
file_operations
hotkey_action_fops
=
{
static
const
struct
file_operations
hotkey_action_fops
=
{
.
open
=
hotkey_action_open_fs
,
.
read
=
seq_read
,
.
write
=
hotkey_execute_aml_method
,
...
...
@@ -219,7 +219,7 @@ static struct file_operations hotkey_action_fops = {
};
/* polling results */
static
struct
file_operations
hotkey_polling_fops
=
{
static
const
struct
file_operations
hotkey_polling_fops
=
{
.
open
=
hotkey_polling_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/power.c
View file @
1a39ed58
...
...
@@ -80,7 +80,7 @@ struct acpi_power_resource {
static
struct
list_head
acpi_power_resource_list
;
static
struct
file_operations
acpi_power_fops
=
{
static
const
struct
file_operations
acpi_power_fops
=
{
.
open
=
acpi_power_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/processor_core.c
View file @
1a39ed58
...
...
@@ -102,7 +102,7 @@ static struct acpi_driver acpi_processor_driver = {
#define INSTALL_NOTIFY_HANDLER 1
#define UNINSTALL_NOTIFY_HANDLER 2
static
struct
file_operations
acpi_processor_info_fops
=
{
static
const
struct
file_operations
acpi_processor_info_fops
=
{
.
open
=
acpi_processor_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/processor_idle.c
View file @
1a39ed58
...
...
@@ -1070,7 +1070,7 @@ static int acpi_processor_power_open_fs(struct inode *inode, struct file *file)
PDE
(
inode
)
->
data
);
}
static
struct
file_operations
acpi_processor_power_fops
=
{
static
const
struct
file_operations
acpi_processor_power_fops
=
{
.
open
=
acpi_processor_power_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
drivers/acpi/sleep/proc.c
View file @
1a39ed58
...
...
@@ -434,7 +434,7 @@ acpi_system_wakeup_device_open_fs(struct inode *inode, struct file *file)
PDE
(
inode
)
->
data
);
}
static
struct
file_operations
acpi_system_wakeup_device_fops
=
{
static
const
struct
file_operations
acpi_system_wakeup_device_fops
=
{
.
open
=
acpi_system_wakeup_device_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_system_write_wakeup_device
,
...
...
@@ -443,7 +443,7 @@ static struct file_operations acpi_system_wakeup_device_fops = {
};
#ifdef CONFIG_ACPI_SLEEP_PROC_SLEEP
static
struct
file_operations
acpi_system_sleep_fops
=
{
static
const
struct
file_operations
acpi_system_sleep_fops
=
{
.
open
=
acpi_system_sleep_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_system_write_sleep
,
...
...
@@ -452,7 +452,7 @@ static struct file_operations acpi_system_sleep_fops = {
};
#endif
/* CONFIG_ACPI_SLEEP_PROC_SLEEP */
static
struct
file_operations
acpi_system_alarm_fops
=
{
static
const
struct
file_operations
acpi_system_alarm_fops
=
{
.
open
=
acpi_system_alarm_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_system_write_alarm
,
...
...
drivers/acpi/system.c
View file @
1a39ed58
...
...
@@ -57,7 +57,7 @@ static int acpi_system_info_open_fs(struct inode *inode, struct file *file)
return
single_open
(
file
,
acpi_system_read_info
,
PDE
(
inode
)
->
data
);
}
static
struct
file_operations
acpi_system_info_ops
=
{
static
const
struct
file_operations
acpi_system_info_ops
=
{
.
open
=
acpi_system_info_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
...
...
@@ -67,7 +67,7 @@ static struct file_operations acpi_system_info_ops = {
static
ssize_t
acpi_system_read_dsdt
(
struct
file
*
,
char
__user
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_dsdt_ops
=
{
static
const
struct
file_operations
acpi_system_dsdt_ops
=
{
.
read
=
acpi_system_read_dsdt
,
};
...
...
@@ -94,7 +94,7 @@ acpi_system_read_dsdt(struct file *file,
static
ssize_t
acpi_system_read_fadt
(
struct
file
*
,
char
__user
*
,
size_t
,
loff_t
*
);
static
struct
file_operations
acpi_system_fadt_ops
=
{
static
const
struct
file_operations
acpi_system_fadt_ops
=
{
.
read
=
acpi_system_read_fadt
,
};
...
...
drivers/acpi/thermal.c
View file @
1a39ed58
...
...
@@ -176,21 +176,21 @@ struct acpi_thermal {
struct
timer_list
timer
;
};
static
struct
file_operations
acpi_thermal_state_fops
=
{
static
const
struct
file_operations
acpi_thermal_state_fops
=
{
.
open
=
acpi_thermal_state_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
single_release
,
};
static
struct
file_operations
acpi_thermal_temp_fops
=
{
static
const
struct
file_operations
acpi_thermal_temp_fops
=
{
.
open
=
acpi_thermal_temp_open_fs
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
single_release
,
};
static
struct
file_operations
acpi_thermal_trip_fops
=
{
static
const
struct
file_operations
acpi_thermal_trip_fops
=
{
.
open
=
acpi_thermal_trip_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_thermal_write_trip_points
,
...
...
@@ -198,7 +198,7 @@ static struct file_operations acpi_thermal_trip_fops = {
.
release
=
single_release
,
};
static
struct
file_operations
acpi_thermal_cooling_fops
=
{
static
const
struct
file_operations
acpi_thermal_cooling_fops
=
{
.
open
=
acpi_thermal_cooling_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_thermal_write_cooling_mode
,
...
...
@@ -206,7 +206,7 @@ static struct file_operations acpi_thermal_cooling_fops = {
.
release
=
single_release
,
};
static
struct
file_operations
acpi_thermal_polling_fops
=
{
static
const
struct
file_operations
acpi_thermal_polling_fops
=
{
.
open
=
acpi_thermal_polling_open_fs
,
.
read
=
seq_read
,
.
write
=
acpi_thermal_write_polling
,
...
...
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