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
Kirill Smelkov
linux
Commits
3072d52b
Commit
3072d52b
authored
Jun 15, 2003
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[driver model] Call the i8253 a PIT, not an RTC.
Stupid naming tricks; my bad.
parent
082bd7df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/i386/kernel/time.c
arch/i386/kernel/time.c
+5
-5
No files found.
arch/i386/kernel/time.c
View file @
3072d52b
...
...
@@ -281,19 +281,19 @@ unsigned long get_cmos_time(void)
return
retval
;
}
static
struct
sysdev_class
rtc
_sysclass
=
{
set_kset_name
(
"
rtc
"
),
static
struct
sysdev_class
pit
_sysclass
=
{
set_kset_name
(
"
pit
"
),
};
/* XXX this driverfs stuff should probably go elsewhere later -john */
static
struct
sys_device
device_i8253
=
{
.
id
=
0
,
.
cls
=
&
rtc
_sysclass
,
.
cls
=
&
pit
_sysclass
,
};
static
int
time_init_device
(
void
)
{
int
error
=
sysdev_class_register
(
&
rtc
_sysclass
);
int
error
=
sysdev_class_register
(
&
pit
_sysclass
);
if
(
!
error
)
error
=
sys_device_register
(
&
device_i8253
);
return
error
;
...
...
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