hp_sdc_rtc: fix broken ioctl conversion
authorArnd Bergmann <arnd@arndb.de>
Sat, 5 Jun 2010 20:52:21 +0000 (22:52 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 8 Jun 2010 20:23:21 +0000 (22:23 +0200)
commitaf0d5cb908f7f9adeb5d3d3dbef64c644bb6809c
treef6a323f2ac27b7826c14d3eec95f45bef945f4e2
parente44a21b7268a022c7749f521c06214145bd161e4
hp_sdc_rtc: fix broken ioctl conversion

Commit 55929332c92 "drivers: Push down BKL into various drivers"
introduced a regression in hp_sdc_rtc, caused by a missing
change of the .unlocked_ioctl pointer to the newly introduced
function.

Fixes:

drivers/input/misc/hp_sdc_rtc.c:681: warning: initialization from
incompatible pointer type
drivers/input/misc/hp_sdc_rtc.c:665: warning:
‘hp_sdc_rtc_unlocked_ioctl’ defined but not used

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
drivers/input/misc/hp_sdc_rtc.c