Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
858e4f4b
Commit
858e4f4b
authored
14 years ago
by
Guan Xuetao
Browse files
Options
Downloads
Patches
Plain Diff
unicore32 rtc driver fix: cleanup irq_set_freq and irq_set_state
Signed-off-by:
Guan Xuetao
<
gxt@mprc.pku.edu.cn
>
parent
0bfdc8e1
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/unicore32/kernel/rtc.c
+0
-9
0 additions, 9 deletions
arch/unicore32/kernel/rtc.c
with
0 additions
and
9 deletions
arch/unicore32/kernel/rtc.c
+
0
−
9
View file @
858e4f4b
...
@@ -88,11 +88,6 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
...
@@ -88,11 +88,6 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
return
0
;
return
0
;
}
}
static
int
puv3_rtc_setfreq
(
struct
device
*
dev
,
int
freq
)
{
return
0
;
}
/* Time read/write */
/* Time read/write */
static
int
puv3_rtc_gettime
(
struct
device
*
dev
,
struct
rtc_time
*
rtc_tm
)
static
int
puv3_rtc_gettime
(
struct
device
*
dev
,
struct
rtc_time
*
rtc_tm
)
...
@@ -214,8 +209,6 @@ static const struct rtc_class_ops puv3_rtcops = {
...
@@ -214,8 +209,6 @@ static const struct rtc_class_ops puv3_rtcops = {
.
set_time
=
puv3_rtc_settime
,
.
set_time
=
puv3_rtc_settime
,
.
read_alarm
=
puv3_rtc_getalarm
,
.
read_alarm
=
puv3_rtc_getalarm
,
.
set_alarm
=
puv3_rtc_setalarm
,
.
set_alarm
=
puv3_rtc_setalarm
,
.
irq_set_freq
=
puv3_rtc_setfreq
,
.
irq_set_state
=
puv3_rtc_setpie
,
.
proc
=
puv3_rtc_proc
,
.
proc
=
puv3_rtc_proc
,
};
};
...
@@ -294,8 +287,6 @@ static int puv3_rtc_probe(struct platform_device *pdev)
...
@@ -294,8 +287,6 @@ static int puv3_rtc_probe(struct platform_device *pdev)
puv3_rtc_enable
(
pdev
,
1
);
puv3_rtc_enable
(
pdev
,
1
);
puv3_rtc_setfreq
(
&
pdev
->
dev
,
1
);
/* register RTC and exit */
/* register RTC and exit */
rtc
=
rtc_device_register
(
"pkunity"
,
&
pdev
->
dev
,
&
puv3_rtcops
,
rtc
=
rtc_device_register
(
"pkunity"
,
&
pdev
->
dev
,
&
puv3_rtcops
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment