diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-05-30 20:57:58 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-06-04 00:23:22 +0200 |
commit | 598e8a1fb5e123894686cce5500775c2ae8b57fc (patch) | |
tree | 7c104de9d18bf4dcae16858ee4f662506ab3d26f /arch/m68k/sun3/config.c | |
parent | 923c904c33023b168baad724d12c7e5260660210 (diff) | |
download | linux-stable-598e8a1fb5e123894686cce5500775c2ae8b57fc.tar.gz linux-stable-598e8a1fb5e123894686cce5500775c2ae8b57fc.tar.bz2 linux-stable-598e8a1fb5e123894686cce5500775c2ae8b57fc.zip |
rtc: m68k: provide ioctl for q40
The q40 platform is the only machine in the kernel that provides
RTC_PLL_GET/RTC_PLL_SET ioctl commands in its rtc through the
mach_get_rtc_pll/mach_set_rtc_pll callbacks.
However, this currenctly works only in the old-style genrtc
driver, not the (somewhat) modern rtc-generic driver replacing
it. This adds an ioctl implementation to the m68k generic_rtc_ops
in order to let both drivers provide the same API.
After this, we should be able to remove support for genrtc
from the m68k architecture.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/m68k/sun3/config.c')
0 files changed, 0 insertions, 0 deletions