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
9becd657
Commit
9becd657
authored
May 30, 2002
by
Dave Jones
Committed by
Linus Torvalds
May 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] check misc_register result in efirtc
parent
fb20b647
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
drivers/char/efirtc.c
drivers/char/efirtc.c
+6
-1
No files found.
drivers/char/efirtc.c
View file @
9becd657
...
@@ -375,9 +375,14 @@ efi_rtc_read_proc(char *page, char **start, off_t off,
...
@@ -375,9 +375,14 @@ efi_rtc_read_proc(char *page, char **start, off_t off,
static
int
__init
static
int
__init
efi_rtc_init
(
void
)
efi_rtc_init
(
void
)
{
{
int
ret
=
0
;
printk
(
KERN_INFO
"EFI Time Services Driver v%s
\n
"
,
EFI_RTC_VERSION
);
printk
(
KERN_INFO
"EFI Time Services Driver v%s
\n
"
,
EFI_RTC_VERSION
);
misc_register
(
&
efi_rtc_dev
);
ret
=
misc_register
(
&
efi_rtc_dev
);
if
(
ret
)
{
printk
(
KERN_ERR
"driver/efirtc: can't misc_register on minor=%d
\n
"
,
EFI_RTC_MINOR
);
return
ret
;
}
create_proc_read_entry
(
"driver/efirtc"
,
0
,
NULL
,
efi_rtc_read_proc
,
NULL
);
create_proc_read_entry
(
"driver/efirtc"
,
0
,
NULL
,
efi_rtc_read_proc
,
NULL
);
...
...
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