rtc-rv5c386a: fix build with kernel 6.12
Some checks failed
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build Kernel / Build all affected Kernels (push) Has been cancelled

`no_llseek` was defined as NULL since 2 years already and was removed in
Linux 6.12, see:
https://git.kernel.org/linus/cb787f4ac0c2e439ea8d7e6387b925f74576bdf8

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 1a4ffafeef)
This commit is contained in:
Hauke Mehrtens 2026-03-10 23:48:07 +01:00
parent 5103e0d2c2
commit 568caba81f

View file

@ -501,7 +501,6 @@ static long rtc_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static const struct file_operations rtc_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = rtc_read,
.write = rtc_write,
.unlocked_ioctl = rtc_ioctl,