quectel-qmi-wwan: fix broken patch

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2025-06-04 18:43:03 +08:00
parent c6d2eeabda
commit d6e19779b3

View File

@@ -1,11 +1,11 @@
--- a/qmi_wwan_q.c
+++ b/qmi_wwan_q.c
@@ -1473,7 +1473,7 @@ typedef struct {
@@ -1472,7 +1472,7 @@ typedef struct {
} BRMAC_SETTING;
#endif
-int qma_setting_store(struct device *dev, QMAP_SETTING *qmap_settings, size_t size) {
+static int qma_setting_store(struct device *dev, QMAP_SETTING *qmap_settings, size_t size) {
struct net_device *netdev = to_net_dev(dev);
struct usbnet * usbnetdev = netdev_priv( netdev );
struct qmi_wwan_state *info = (void *)&usbnetdev->data;
struct net_device *netdev = to_net_dev(dev);
struct usbnet * usbnetdev = netdev_priv( netdev );
struct qmi_wwan_state *info = (void *)&usbnetdev->data;