Skip to content

Commit 3352c3e

Browse files
t-8chbentiss
authored andcommitted
HID: intel-ish-hid: Constify lowlevel HID driver
Since commit 52d2253 ("HID: Make lowlevel driver structs const") the lowlevel HID drivers are only exposed as const. Take advantage of this to constify the underlying structure, too. Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent ddb6792 commit 3352c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/intel-ish-hid/ishtp-hid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ void ishtp_hid_wakeup(struct hid_device *hid)
183183
wake_up_interruptible(&hid_data->hid_wait);
184184
}
185185

186-
static struct hid_ll_driver ishtp_hid_ll_driver = {
186+
static const struct hid_ll_driver ishtp_hid_ll_driver = {
187187
.parse = ishtp_hid_parse,
188188
.start = ishtp_hid_start,
189189
.stop = ishtp_hid_stop,

0 commit comments

Comments
 (0)