]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0727f20b1d562624d8cecbb03ff8112dbf354c9e
treef6a323f2ac27b7826c14d3eec95f45bef945f4e2
parent477bdd52a1295d7bad2b73d68f65fb62311e06f7
hp_sdc_rtc: fix broken ioctl conversion

Commit 18b67eb2844 "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