diff options
| author | Nikolaus Voss <[email protected]> | 2019-06-28 11:01:09 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-03 18:40:49 +0200 |
| commit | 2681795b5e7a5bf336537661010072f4c22cea31 (patch) | |
| tree | 7e84dfad32ffd7ce6ed30f61d804607b5d925a34 /scripts/gdb/linux/utils.py | |
| parent | 05da75fc651138e51ff74ace97174349910463f5 (diff) | |
drivers/usb/typec/tps6598x.c: fix 4CC cmd write
Writing 4CC commands with tps6598x_write_4cc() already has
a pointer arg, don't reference it when using as arg to
tps6598x_block_write(). Correcting this enforces the constness
of the pointer to propagate to tps6598x_block_write(), so add
the const qualifier there to avoid the warning.
Fixes: 0a4c005bd171 ("usb: typec: driver for TI TPS6598x USB Power Delivery controllers")
Signed-off-by: Nikolaus Voss <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions