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
603bca3a
Commit
603bca3a
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/v850
parent
cbb89e29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
arch/v850/kernel/memcons.c
arch/v850/kernel/memcons.c
+5
-5
arch/v850/kernel/procfs.c
arch/v850/kernel/procfs.c
+4
-4
arch/v850/kernel/rte_cb_leds.c
arch/v850/kernel/rte_cb_leds.c
+6
-6
No files found.
arch/v850/kernel/memcons.c
View file @
603bca3a
...
@@ -65,11 +65,11 @@ static kdev_t memcons_device (struct console *co)
...
@@ -65,11 +65,11 @@ static kdev_t memcons_device (struct console *co)
static
struct
console
memcons
=
static
struct
console
memcons
=
{
{
name:
"memcons"
,
.
name
=
"memcons"
,
write:
memcons_write
,
.
write
=
memcons_write
,
device:
memcons_device
,
.
device
=
memcons_device
,
flags:
CON_PRINTBUFFER
,
.
flags
=
CON_PRINTBUFFER
,
index:
-
1
,
.
index
=
-
1
,
};
};
void
memcons_setup
(
void
)
void
memcons_setup
(
void
)
...
...
arch/v850/kernel/procfs.c
View file @
603bca3a
...
@@ -60,8 +60,8 @@ static void cpuinfo_stop (struct seq_file *m, void *v)
...
@@ -60,8 +60,8 @@ static void cpuinfo_stop (struct seq_file *m, void *v)
}
}
struct
seq_operations
cpuinfo_op
=
{
struct
seq_operations
cpuinfo_op
=
{
start:
cpuinfo_start
,
.
start
=
cpuinfo_start
,
next:
cpuinfo_next
,
.
next
=
cpuinfo_next
,
stop:
cpuinfo_stop
,
.
stop
=
cpuinfo_stop
,
show:
cpuinfo_print
.
show
=
cpuinfo_print
};
};
arch/v850/kernel/rte_cb_leds.c
View file @
603bca3a
...
@@ -116,15 +116,15 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence)
...
@@ -116,15 +116,15 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence)
}
}
static
struct
file_operations
leds_fops
=
{
static
struct
file_operations
leds_fops
=
{
read:
leds_dev_read
,
.
read
=
leds_dev_read
,
write:
leds_dev_write
,
.
write
=
leds_dev_write
,
llseek:
leds_dev_lseek
.
llseek
=
leds_dev_lseek
};
};
static
struct
miscdevice
leds_miscdev
=
{
static
struct
miscdevice
leds_miscdev
=
{
name:
"leds"
,
.
name
=
"leds"
,
minor:
LEDS_MINOR
,
.
minor
=
LEDS_MINOR
,
fops:
&
leds_fops
.
fops
=
&
leds_fops
};
};
int
__init
leds_dev_init
(
void
)
int
__init
leds_dev_init
(
void
)
...
...
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