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
6712a4fb
Commit
6712a4fb
authored
Aug 12, 2007
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull dock-bay into release branch
parents
d8dd3cbc
66b56821
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/acpi/bay.c
drivers/acpi/bay.c
+1
-1
drivers/acpi/dock.c
drivers/acpi/dock.c
+3
-3
No files found.
drivers/acpi/bay.c
View file @
6712a4fb
...
...
@@ -337,7 +337,7 @@ static void bay_notify(acpi_handle handle, u32 event, void *data)
char
*
envp
[]
=
{
event_string
,
NULL
};
bay_dprintk
(
handle
,
"Bay event"
);
sprintf
(
event_string
,
"BAY_EVENT=%d
\n
"
,
event
);
sprintf
(
event_string
,
"BAY_EVENT=%d"
,
event
);
kobject_uevent_env
(
&
dev
->
kobj
,
KOBJ_CHANGE
,
envp
);
}
...
...
drivers/acpi/dock.c
View file @
6712a4fb
...
...
@@ -336,13 +336,13 @@ static void hotplug_dock_devices(struct dock_station *ds, u32 event)
static
void
dock_event
(
struct
dock_station
*
ds
,
u32
event
,
int
num
)
{
struct
device
*
dev
=
&
dock_device
->
dev
;
char
event_string
[
7
];
char
event_string
[
13
];
char
*
envp
[]
=
{
event_string
,
NULL
};
if
(
num
==
UNDOCK_EVENT
)
sprintf
(
event_string
,
"
UNDOCK
"
);
sprintf
(
event_string
,
"
EVENT=undock
"
);
else
sprintf
(
event_string
,
"
DOCK
"
);
sprintf
(
event_string
,
"
EVENT=dock
"
);
/*
* Indicate that the status of the dock station has
...
...
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