linux-stable/drivers/staging/gdm724x
Ricardo B. Marliere 455c5e12a3 staging: gdm724x: constantify the struct device_type usage
Since commit aed65af1cc ("drivers: make device_type const"), the
driver core can properly handle constant struct device_type. Move the
wwan_type variable to be a constant structure as well, placing it into
read-only memory which can not be modified at runtime.

Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240217-device_cleanup-staging-v1-1-286479d9a3f0@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-17 17:30:35 +01:00
..
gdm_endian.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_endian.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_lte.c staging: gdm724x: constantify the struct device_type usage 2024-02-17 17:30:35 +01:00
gdm_lte.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_mux.c staging: gdm724x: Clarify naming of packet_type<->tty index symbols 2020-10-26 06:53:10 +01:00
gdm_mux.h staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
gdm_tty.c staging: gdm724x: Add blank line after declaration 2023-10-21 12:00:24 +02:00
gdm_tty.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_usb.c staging: gdm724x: Fix DMA from stack 2021-02-11 11:08:17 +01:00
gdm_usb.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci_packet.h staging: gdm724x: Replace one-element array with flexible-array member 2022-02-08 10:33:45 +01:00
hci.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
netlink_k.c staging: gdm724x: Place macro argument within parentheses 2021-08-12 10:21:50 +02:00
netlink_k.h staging: gdm724x: use netdev_err() instead of pr_err() 2020-03-20 15:07:45 +01:00
TODO