diff options
author | David Brownell <david-b@pacbell.net> | 2006-11-25 11:09:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-25 13:28:33 -0800 |
commit | 2601a46474db2dcbc08ee690e56f08a10abe65cb (patch) | |
tree | 3b6ffb34023a252599b08b045db100a6ca6bfff7 /drivers/mtd/maps/dc21285.c | |
parent | 7531d8faa85f8880db433027bf2b04950e49baeb (diff) | |
download | blackbird-op-linux-2601a46474db2dcbc08ee690e56f08a10abe65cb.tar.gz blackbird-op-linux-2601a46474db2dcbc08ee690e56f08a10abe65cb.zip |
[PATCH] rtc framework handles periodic irqs
The RTC framework has an irq_set_freq() method that should be used to manage
the periodic IRQ frequency, but the current ioctl logic doesn't know how to do
that. This patch teaches it how.
This means that drivers implementing irq_set_freq() will automatically support
RTC_IRQP_{READ,SET} ioctls; that logic doesn't need duplication within the
driver.
[akpm@osdl.org: export rtc_irq_set_freq]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd/maps/dc21285.c')
0 files changed, 0 insertions, 0 deletions