diff options
| author | Rikard Falkeborn <[email protected]> | 2021-09-29 21:45:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-05 12:58:17 +0200 |
| commit | c608dc105bd4533be8fd532a82f9c1fe5f0b121f (patch) | |
| tree | 1f5d7737211dd53e8aa1f2fd0c7cacd055fec72e /tools/perf/scripts/python | |
| parent | 8c9e880bb98cba546ffaf97b85c5111f0aa86f79 (diff) | |
usb: cdc-wdm: Constify static struct wwan_port_ops
The only usage of wdm_wwan_port_ops is to pass its address to
wwan_create_port() which takes a pointer to const wwan_port_ops as
argument. Make it const to allow the compiler to put it in read-only
memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions