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
eb9c08b3
Commit
eb9c08b3
authored
Jul 08, 2002
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanups by Russell King <rmk@arm.linux.org.uk>,
char signedness and removal of extra \n.
parent
a321a55f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/atkbd.c
+4
-5
No files found.
drivers/input/keyboard/atkbd.c
View file @
eb9c08b3
...
...
@@ -125,10 +125,9 @@ struct atkbd {
unsigned
char
cmdbuf
[
4
];
unsigned
char
cmdcnt
;
unsigned
char
set
;
char
release
;
char
ack
;
char
emul
;
char
error
;
unsigned
char
release
;
signed
char
ack
;
unsigned
char
emul
;
unsigned
short
id
;
};
...
...
@@ -504,7 +503,7 @@ static void atkbd_connect(struct serio *serio, struct serio_dev *dev)
if
(
atkbd
->
set
==
4
)
{
atkbd
->
dev
.
ledbit
[
0
]
|=
BIT
(
LED_COMPOSE
)
|
BIT
(
LED_SUSPEND
)
|
BIT
(
LED_SLEEP
)
|
BIT
(
LED_MUTE
);
sprintf
(
atkbd
->
name
,
"AT Set 2 Extended keyboard
\n
"
);
sprintf
(
atkbd
->
name
,
"AT Set 2 Extended keyboard"
);
}
else
sprintf
(
atkbd
->
name
,
"AT Set %d keyboard"
,
atkbd
->
set
);
...
...
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