Skip to content

Commit ddb6792

Browse files
t-8chbentiss
authored andcommitted
HID: steam: 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 662eee8 commit ddb6792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-steam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ static int steam_client_ll_raw_request(struct hid_device *hdev,
674674
report_type, reqtype);
675675
}
676676

677-
static struct hid_ll_driver steam_client_ll_driver = {
677+
static const struct hid_ll_driver steam_client_ll_driver = {
678678
.parse = steam_client_ll_parse,
679679
.start = steam_client_ll_start,
680680
.stop = steam_client_ll_stop,

0 commit comments

Comments
 (0)