rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>
Tue, 17 Jul 2007 11:05:00 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:09 +0000 (10:23 -0700)
commitac495bf8971f2dc9d401d892849977e86633ced6
treee9ff9866c01cba3d52a33fe3705167eda6c84a2d
parent7a39a49c746adc08488b1403b5aeca1dbd4ce0e2
rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver

Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-dev.c