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
ae558895
Commit
ae558895
authored
Apr 20, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RTC]: Update for irqreturn_t.
parent
100c9a0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/char/rtc.c
drivers/char/rtc.c
+3
-1
No files found.
drivers/char/rtc.c
View file @
ae558895
...
@@ -180,7 +180,7 @@ static const unsigned char days_in_mo[] =
...
@@ -180,7 +180,7 @@ static const unsigned char days_in_mo[] =
* (See ./arch/XXXX/kernel/time.c for the set_rtc_mmss() function.)
* (See ./arch/XXXX/kernel/time.c for the set_rtc_mmss() function.)
*/
*/
static
void
rtc_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
rtc_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
/*
/*
* Can be an alarm interrupt, update complete interrupt,
* Can be an alarm interrupt, update complete interrupt,
...
@@ -207,6 +207,8 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -207,6 +207,8 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
wake_up_interruptible
(
&
rtc_wait
);
wake_up_interruptible
(
&
rtc_wait
);
kill_fasync
(
&
rtc_async_queue
,
SIGIO
,
POLL_IN
);
kill_fasync
(
&
rtc_async_queue
,
SIGIO
,
POLL_IN
);
return
IRQ_HANDLED
;
}
}
#endif
#endif
...
...
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