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
Show 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)
static
struct
console
memcons
=
{
name:
"memcons"
,
write:
memcons_write
,
device:
memcons_device
,
flags:
CON_PRINTBUFFER
,
index:
-
1
,
.
name
=
"memcons"
,
.
write
=
memcons_write
,
.
device
=
memcons_device
,
.
flags
=
CON_PRINTBUFFER
,
.
index
=
-
1
,
};
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)
}
struct
seq_operations
cpuinfo_op
=
{
start:
cpuinfo_start
,
next:
cpuinfo_next
,
stop:
cpuinfo_stop
,
show:
cpuinfo_print
.
start
=
cpuinfo_start
,
.
next
=
cpuinfo_next
,
.
stop
=
cpuinfo_stop
,
.
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)
}
static
struct
file_operations
leds_fops
=
{
read:
leds_dev_read
,
write:
leds_dev_write
,
llseek:
leds_dev_lseek
.
read
=
leds_dev_read
,
.
write
=
leds_dev_write
,
.
llseek
=
leds_dev_lseek
};
static
struct
miscdevice
leds_miscdev
=
{
name:
"leds"
,
minor:
LEDS_MINOR
,
fops:
&
leds_fops
.
name
=
"leds"
,
.
minor
=
LEDS_MINOR
,
.
fops
=
&
leds_fops
};
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