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
2eba9670
Commit
2eba9670
authored
Feb 14, 2003
by
Art Haas
Committed by
Linus Torvalds
Feb 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/char/rtc.c
parent
a0978627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
+25
-7
drivers/char/rtc.c
drivers/char/rtc.c
+25
-7
No files found.
drivers/char/rtc.c
View file @
2eba9670
...
@@ -211,19 +211,37 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -211,19 +211,37 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
* sysctl-tuning infrastructure.
* sysctl-tuning infrastructure.
*/
*/
static
ctl_table
rtc_table
[]
=
{
static
ctl_table
rtc_table
[]
=
{
{
1
,
"max-user-freq"
,
&
rtc_max_user_freq
,
sizeof
(
int
),
0644
,
NULL
,
{
&
proc_dointvec
,
NULL
,
},
.
ctl_name
=
1
,
{
0
,
}
.
procname
=
"max-user-freq"
,
.
data
=
&
rtc_max_user_freq
,
.
maxlen
=
sizeof
(
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec
,
},
{
.
ctl_name
=
0
}
};
};
static
ctl_table
rtc_root
[]
=
{
static
ctl_table
rtc_root
[]
=
{
{
1
,
"rtc"
,
NULL
,
0
,
0555
,
rtc_table
,
},
{
{
0
,
}
.
ctl_name
=
1
,
.
procname
=
"rtc"
,
.
maxlen
=
0
,
.
mode
=
0555
,
.
child
=
rtc_table
,
},
{
.
ctl_name
=
0
}
};
};
static
ctl_table
dev_root
[]
=
{
static
ctl_table
dev_root
[]
=
{
{
CTL_DEV
,
"dev"
,
NULL
,
0
,
0555
,
rtc_root
,
},
{
{
0
,
}
.
ctl_name
=
CTL_DEV
,
.
procname
=
"dev"
,
.
maxlen
=
0
,
.
mode
=
0555
,
.
child
=
rtc_root
,
},
{
.
ctl_name
=
0
}
};
};
static
struct
ctl_table_header
*
sysctl_header
;
static
struct
ctl_table_header
*
sysctl_header
;
...
...
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