openwrt/package/kernel
Aleksander Jan Bajkowski 1b846fe208 kernel: ltq-adsl: fix compilation warning on 6.6
Fix compilation warning:
./include/linux/export.h:29:22: error: passing argument 1 of 'class_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
   29 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-dsl-ar9/drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c:1105:29: note: in expansion of macro 'THIS_MODULE'
 1105 |    dsl_class = class_create(THIS_MODULE, "dsl_cpe_api");
      |                             ^~~~~~~~~~~
In file included from ./include/linux/device.h:31,
                 from ./include/linux/platform_device.h:13,
                 from ./include/linux/of_device.h:5,
                 from ./include/linux/of_platform.h:10,
                 from /home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-dsl-ar9/drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c:15:
./include/linux/device/class.h:230:54: note: expected 'const char *' but argument is of type 'struct module *'
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~
/home/aleksander/workspace/openwrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-dsl-ar9/drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c:1105:16: error: too many arguments to function 'class_>
 1105 |    dsl_class = class_create(THIS_MODULE, "dsl_cpe_api");
      |                ^~~~~~~~~~~~
./include/linux/device/class.h:230:29: note: declared here
  230 | struct class * __must_check class_create(const char *name);
      |                             ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2024-06-14 14:32:28 +02:00
..
ath10k-ct treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20240424 2024-05-10 09:15:15 +02:00
bcm63xx-cfe treewide: package: update missed hashes after switch to ZSTD 2024-04-07 14:56:04 +02:00
bpf-headers bpf-headers: fix use of netlink.h header 2024-05-01 19:11:33 +02:00
button-hotplug button-hotplug: simplify build 2022-10-24 20:49:34 +02:00
cryptodev-linux packages: refresh patches 2024-05-31 11:30:06 +02:00
dtc/patches package: kernel: dtc: Add DTO support 2017-11-06 16:39:41 +01:00
gpio-button-hotplug gpio-button-hotplug: fix 6.2 build failure 2024-03-11 20:17:26 +01:00
gpio-nct5104d gpio-nct5104d: fix compilation with kernel 6.6 2024-05-13 10:15:17 +02:00
lantiq kernel: ltq-adsl: fix compilation warning on 6.6 2024-06-14 14:32:28 +02:00
leds-gca230718 package: kernel: leds-gca230718: fix build with Linux 6.6 2024-04-12 02:07:30 +01:00
leds-ws2812b kernel: leds-ws2812b: fix build with Linux >= 5.18 2023-07-08 15:10:12 +01:00
linux kernel: modules: netdevice: remove kmod-of-mdio dependency for kmod-stmmac-core 2024-06-10 16:50:29 +02:00
mac80211 mac80211: remove mtd-cal-data 2024-06-13 18:10:27 +02:00
mt76 mt76: mt7996: select required kernel and hostap options 2024-06-11 00:10:21 +01:00
mt7621-qtn-rgmii mt7621-qtn-rgmii: enable RGMII connected Quantenna QV840 2020-07-08 16:07:05 +02:00
mwlwifi mwlwifi: update to version 10.4.10-20240419 2024-04-23 22:33:56 +02:00
nat46 treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
qca-nss-dp kernel: qca-nss-dp: add back printing attached PHY-s 2024-05-21 12:29:33 +02:00
qca-ssdk packages: refresh patches 2024-05-31 11:30:06 +02:00
rtc-rv5c386a kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
rtl8812au-ct treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
trelay package: drop PKG_VERSION for purely local packages 2020-07-15 18:33:56 +02:00
ubnt-ledbar ubnt-ledbar: adapt for kernel v6.6 2024-05-11 12:38:13 +02:00
ubootenv-nvram kernel: ubootenv-nvram: driver for RAM backed environments 2023-08-20 01:14:06 +02:00