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
9bd253df
Commit
9bd253df
authored
Jan 05, 2003
by
Michael Still
Committed by
Linus Torvalds
Jan 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] misc_register-029-004
parent
f1e747ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
arch/ppc64/kernel/rtc.c
arch/ppc64/kernel/rtc.c
+11
-2
No files found.
arch/ppc64/kernel/rtc.c
View file @
9bd253df
...
@@ -196,8 +196,17 @@ static struct miscdevice rtc_dev=
...
@@ -196,8 +196,17 @@ static struct miscdevice rtc_dev=
static
int
__init
rtc_init
(
void
)
static
int
__init
rtc_init
(
void
)
{
{
misc_register
(
&
rtc_dev
);
int
retval
;
create_proc_read_entry
(
"driver/rtc"
,
0
,
0
,
rtc_read_proc
,
NULL
);
retval
=
misc_register
(
&
rtc_dev
);
if
(
retval
<
0
)
return
retval
;
#ifdef CONFIG_PROC_FS
if
(
create_proc_read_entry
(
"driver/rtc"
,
0
,
0
,
rtc_read_proc
,
NULL
)
==
NULL
)
misc_deregister
(
&
rtc_dev
);
return
-
ENOMEM
;
#endif
printk
(
KERN_INFO
"i/pSeries Real Time Clock Driver v"
RTC_VERSION
"
\n
"
);
printk
(
KERN_INFO
"i/pSeries Real Time Clock Driver v"
RTC_VERSION
"
\n
"
);
...
...
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