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
f9e0bbe6
Commit
f9e0bbe6
authored
Nov 10, 2002
by
Art Haas
Committed by
Andy Grover
Nov 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for arch/mips
parent
603bca3a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
26 deletions
+26
-26
arch/mips/au1000/common/serial.c
arch/mips/au1000/common/serial.c
+6
-6
arch/mips/baget/vacserial.c
arch/mips/baget/vacserial.c
+6
-6
arch/mips/dec/promcon.c
arch/mips/dec/promcon.c
+6
-6
arch/mips/kernel/gdb-stub.c
arch/mips/kernel/gdb-stub.c
+5
-5
arch/mips/lib/rtc-no.c
arch/mips/lib/rtc-no.c
+3
-3
No files found.
arch/mips/au1000/common/serial.c
View file @
f9e0bbe6
...
@@ -3043,12 +3043,12 @@ static int __init serial_console_setup(struct console *co, char *options)
...
@@ -3043,12 +3043,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
,
};
};
/*
/*
...
...
arch/mips/baget/vacserial.c
View file @
f9e0bbe6
...
@@ -2772,12 +2772,12 @@ static int __init serial_console_setup(struct console *co, char *options)
...
@@ -2772,12 +2772,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
,
};
};
/*
/*
...
...
arch/mips/dec/promcon.c
View file @
f9e0bbe6
...
@@ -42,12 +42,12 @@ static kdev_t prom_console_device(struct console *c)
...
@@ -42,12 +42,12 @@ static kdev_t prom_console_device(struct console *c)
static
struct
console
sercons
=
static
struct
console
sercons
=
{
{
name:
"ttyS"
,
.
name
=
"ttyS"
,
write:
prom_console_write
,
.
write
=
prom_console_write
,
device:
prom_console_device
,
.
device
=
prom_console_device
,
setup:
prom_console_setup
,
.
setup
=
prom_console_setup
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
/*
/*
...
...
arch/mips/kernel/gdb-stub.c
View file @
f9e0bbe6
...
@@ -953,11 +953,11 @@ static void gdb_console_write(struct console *con, const char *s, unsigned n)
...
@@ -953,11 +953,11 @@ static void gdb_console_write(struct console *con, const char *s, unsigned n)
}
}
static
struct
console
gdb_console
=
{
static
struct
console
gdb_console
=
{
name:
"gdb"
,
.
name
=
"gdb"
,
write:
gdb_console_write
,
.
write
=
gdb_console_write
,
device:
gdb_console_dev
,
.
device
=
gdb_console_dev
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
.
index
=
-
1
};
};
__init
void
register_gdb_console
(
void
)
__init
void
register_gdb_console
(
void
)
...
...
arch/mips/lib/rtc-no.c
View file @
f9e0bbe6
...
@@ -24,7 +24,7 @@ static unsigned int shouldnt_happen(void)
...
@@ -24,7 +24,7 @@ static unsigned int shouldnt_happen(void)
}
}
struct
rtc_ops
no_rtc_ops
=
{
struct
rtc_ops
no_rtc_ops
=
{
rtc_read_data:
(
void
*
)
&
shouldnt_happen
,
.
rtc_read_data
=
(
void
*
)
&
shouldnt_happen
,
rtc_write_data:
(
void
*
)
&
shouldnt_happen
,
.
rtc_write_data
=
(
void
*
)
&
shouldnt_happen
,
rtc_bcd_mode:
(
void
*
)
&
shouldnt_happen
.
rtc_bcd_mode
=
(
void
*
)
&
shouldnt_happen
};
};
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