diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-09-29 21:45:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-05 12:58:17 +0200 |
| commit | c608dc105bd4533be8fd532a82f9c1fe5f0b121f (patch) | |
| tree | 1f5d7737211dd53e8aa1f2fd0c7cacd055fec72e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | usb: usb-skeleton: Update min() to min_t() (diff) | |
| download | linux-c608dc105bd4533be8fd532a82f9c1fe5f0b121f.tar.gz linux-c608dc105bd4533be8fd532a82f9c1fe5f0b121f.zip | |
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 <rikard.falkeborn@gmail.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20210929194547.46954-3-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
