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
fcf34d2b
Commit
fcf34d2b
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/tc
parent
4900a280
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
drivers/tc/lk201.c
drivers/tc/lk201.c
+3
-6
drivers/tc/zs.c
drivers/tc/zs.c
+6
-6
No files found.
drivers/tc/lk201.c
View file @
fcf34d2b
...
@@ -36,12 +36,9 @@ static void __init lk201_info(struct dec_serial *);
...
@@ -36,12 +36,9 @@ static void __init lk201_info(struct dec_serial *);
static
void
lk201_kbd_rx_char
(
unsigned
char
,
unsigned
char
);
static
void
lk201_kbd_rx_char
(
unsigned
char
,
unsigned
char
);
struct
zs_hook
lk201_kbdhook
=
{
struct
zs_hook
lk201_kbdhook
=
{
init_channel:
lk201_init
,
.
init_channel
=
lk201_init
,
init_info:
lk201_info
,
.
init_info
=
lk201_info
,
rx_char:
NULL
,
.
cflags
=
B4800
|
CS8
|
CSTOPB
|
CLOCAL
poll_rx_char:
NULL
,
poll_tx_char:
NULL
,
cflags:
B4800
|
CS8
|
CSTOPB
|
CLOCAL
};
};
/*
/*
...
...
drivers/tc/zs.c
View file @
fcf34d2b
...
@@ -2255,12 +2255,12 @@ static int __init serial_console_setup(struct console *co, char *options)
...
@@ -2255,12 +2255,12 @@ static int __init serial_console_setup(struct console *co, char *options)
}
}
static
struct
console
sercons
=
{
static
struct
console
sercons
=
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
serial_console_write
,
.
write
=
serial_console_write
,
device:
serial_console_device
,
.
device
=
serial_console_device
,
setup:
serial_console_setup
,
.
setup
=
serial_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
/*
/*
...
...
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