hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/sbus/char/display7seg.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* display7seg.c - Driver implementation for the 7-segment display
23 * present on Sun Microsystems CP1400 and CP1500
34 *
....@@ -155,7 +156,7 @@
155156 static const struct file_operations d7s_fops = {
156157 .owner = THIS_MODULE,
157158 .unlocked_ioctl = d7s_ioctl,
158
- .compat_ioctl = d7s_ioctl,
159
+ .compat_ioctl = compat_ptr_ioctl,
159160 .open = d7s_open,
160161 .release = d7s_release,
161162 .llseek = noop_llseek,