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
e7298bfd
Commit
e7298bfd
authored
Apr 20, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Apr 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] irqs: rtc
update rtc driver to new IRQ API
parent
99bc8497
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/char/rtc.c
drivers/char/rtc.c
+2
-1
No files found.
drivers/char/rtc.c
View file @
e7298bfd
...
@@ -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,7 @@ static void rtc_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -207,6 +207,7 @@ 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