Skip to content

Commit 63509b1

Browse files
t-8chbentiss
authored andcommitted
platform/x86: asus-tf103c-dock: 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 dd350af commit 63509b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/asus-tf103c-dock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static int tf103c_dock_hid_raw_request(struct hid_device *hid, u8 reportnum,
250250
return 0;
251251
}
252252

253-
static struct hid_ll_driver tf103c_dock_hid_ll_driver = {
253+
static const struct hid_ll_driver tf103c_dock_hid_ll_driver = {
254254
.parse = tf103c_dock_hid_parse,
255255
.start = tf103c_dock_hid_start,
256256
.stop = tf103c_dock_hid_stop,

0 commit comments

Comments
 (0)