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
Kirill Smelkov
linux
Commits
40dffe2c
Commit
40dffe2c
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/serial
parent
a3b016ca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
34 deletions
+34
-34
drivers/serial/68328serial.c
drivers/serial/68328serial.c
+6
-6
drivers/serial/68360serial.c
drivers/serial/68360serial.c
+7
-7
drivers/serial/8250_gsc.c
drivers/serial/8250_gsc.c
+6
-6
drivers/serial/mcfserial.c
drivers/serial/mcfserial.c
+6
-6
drivers/serial/nb85e_uart.c
drivers/serial/nb85e_uart.c
+6
-6
drivers/serial/uart00.c
drivers/serial/uart00.c
+3
-3
No files found.
drivers/serial/68328serial.c
View file @
40dffe2c
...
@@ -1682,12 +1682,12 @@ void m68328_console_write (struct console *co, const char *str,
...
@@ -1682,12 +1682,12 @@ void m68328_console_write (struct console *co, const char *str,
static
struct
console
m68328_driver
=
{
static
struct
console
m68328_driver
=
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
m68328_console_write
,
.
write
=
m68328_console_write
,
device:
m68328_console_device
,
.
device
=
m68328_console_device
,
setup:
m68328_console_setup
,
.
setup
=
m68328_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
...
...
drivers/serial/68360serial.c
View file @
40dffe2c
...
@@ -2566,13 +2566,13 @@ static kdev_t serial_console_device(struct console *c)
...
@@ -2566,13 +2566,13 @@ static kdev_t serial_console_device(struct console *c)
struct
console
sercons
=
{
struct
console
sercons
=
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
serial_console_write
,
.
write
=
serial_console_write
,
device:
serial_console_device
,
.
device
=
serial_console_device
,
wait_key:
serial_console_wait_key
,
.
wait_key
=
serial_console_wait_key
,
setup:
serial_console_setup
,
.
setup
=
serial_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
CONFIG_SERIAL_CONSOLE_PORT
,
.
index
=
CONFIG_SERIAL_CONSOLE_PORT
,
};
};
...
...
drivers/serial/8250_gsc.c
View file @
40dffe2c
...
@@ -112,15 +112,15 @@ static struct parisc_device_id serial1_tbl[] = {
...
@@ -112,15 +112,15 @@ static struct parisc_device_id serial1_tbl[] = {
MODULE_DEVICE_TABLE
(
parisc
,
serial_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
serial_tbl
);
static
struct
parisc_driver
serial1_driver
=
{
static
struct
parisc_driver
serial1_driver
=
{
name:
"Serial RS232"
,
.
name
=
"Serial RS232"
,
id_table:
serial1_tbl
,
.
id_table
=
serial1_tbl
,
probe:
serial_init_chip
,
.
probe
=
serial_init_chip
,
};
};
static
struct
parisc_driver
serial_driver
=
{
static
struct
parisc_driver
serial_driver
=
{
name:
"Serial RS232"
,
.
name
=
"Serial RS232"
,
id_table:
serial_tbl
,
.
id_table
=
serial_tbl
,
probe:
serial_init_chip
,
.
probe
=
serial_init_chip
,
};
};
int
__init
probe_serial_gsc
(
void
)
int
__init
probe_serial_gsc
(
void
)
...
...
drivers/serial/mcfserial.c
View file @
40dffe2c
...
@@ -1853,12 +1853,12 @@ void mcfrs_console_write(struct console *cp, const char *p, unsigned len)
...
@@ -1853,12 +1853,12 @@ void mcfrs_console_write(struct console *cp, const char *p, unsigned len)
*/
*/
struct
console
mcfrs_console
=
{
struct
console
mcfrs_console
=
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
mcfrs_console_write
,
.
write
=
mcfrs_console_write
,
device:
mcfrs_console_device
,
.
device
=
mcfrs_console_device
,
setup:
mcfrs_console_setup
,
.
setup
=
mcfrs_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
void
__init
mcfrs_console_init
(
void
)
void
__init
mcfrs_console_init
(
void
)
...
...
drivers/serial/nb85e_uart.c
View file @
40dffe2c
...
@@ -255,12 +255,12 @@ static kdev_t nb85e_uart_cons_device (struct console *c)
...
@@ -255,12 +255,12 @@ static kdev_t nb85e_uart_cons_device (struct console *c)
static
struct
console
nb85e_uart_cons
=
static
struct
console
nb85e_uart_cons
=
{
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
nb85e_uart_cons_write
,
.
write
=
nb85e_uart_cons_write
,
device:
nb85e_uart_cons_device
,
.
device
=
nb85e_uart_cons_device
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
cflag:
NB85E_UART_INIT_CFLAGS
,
.
cflag
=
NB85E_UART_INIT_CFLAGS
,
index:
-
1
,
.
index
=
-
1
,
};
};
void
nb85e_uart_cons_init
(
unsigned
chan
)
void
nb85e_uart_cons_init
(
unsigned
chan
)
...
...
drivers/serial/uart00.c
View file @
40dffe2c
...
@@ -731,9 +731,9 @@ int uart00_remove_devices(void)
...
@@ -731,9 +731,9 @@ int uart00_remove_devices(void)
}
}
struct
pld_hotswap_ops
uart00_pldhs_ops
=
{
struct
pld_hotswap_ops
uart00_pldhs_ops
=
{
name:
"uart00"
,
.
name
=
"uart00"
,
add_device:
uart00_add_device
,
.
add_device
=
uart00_add_device
,
remove_devices:
uart00_remove_devices
,
.
remove_devices
=
uart00_remove_devices
,
};
};
#endif
#endif
...
...
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