openwrt-6.x/package/kernel/lantiq
Shiji Yang 8cf0c810fb ltq-adsl-mei: fix missing-prototypes warnings
* Mark some functions as static.
* Add missing prototypes.

This patch fixes the following build warnings:

/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:1182:1: error: no previous prototype for 'makeCMV' [-Werror=missing-prototypes]
 1182 | makeCMV (u8 opcode, u8 group, u16 address, u16 index, int size, u16 * data, u16 *CMVMSG)
      | ^~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:1855:1: error: no previous prototype for 'DSL_BSP_ATMLedCBUnregister' [-Werror=missing-prototypes]
 1855 | DSL_BSP_ATMLedCBUnregister (int (*ifx_adsl_ledcallback) (void))
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2448:1: error: no previous prototype for 'IFX_MEI_Ioctls' [-Werror=missing-prototypes]
 2448 | IFX_MEI_Ioctls (DSL_DEV_Device_t * pDev, int from_kernel, unsigned int command, unsigned long lon)
      | ^~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2699:5: error: no previous prototype for 'ifx_mei_atm_led_blink' [-Werror=missing-prototypes]
 2699 | int ifx_mei_atm_led_blink(void)
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2705:5: error: no previous prototype for 'ifx_mei_atm_showtime_check' [-Werror=missing-prototypes]
 2705 | int ifx_mei_atm_showtime_check(int *is_showtime, struct port_cell_info *port_cell, void **xdata_addr)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-13 22:02:20 +02:00
..
ltq-adsl ltq-adsl: silence missing-prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-adsl-fw ltq-adsl(-fw): Makefile clean-up and fixes 2020-04-24 17:59:22 +02:00
ltq-adsl-mei ltq-adsl-mei: fix missing-prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-atm ltq-atm: fix missing-prototypes warnings for lantiq/ase 2025-05-13 22:02:20 +02:00
ltq-deu ltq-deu: fix 6.12 kernel build warnings on lantiq/xway 2025-05-13 22:02:20 +02:00
ltq-ifxos ltq-ifxos: fix missing-prototypes build warning 2025-05-13 22:02:19 +02:00
ltq-ptm ltq-ptm: adsl: fix 6.12 kernel build errors on lantiq/xway 2025-05-13 22:02:20 +02:00
ltq-tapi ltq-tapi: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00
ltq-vdsl-fw lantiq/xrx200: move 8M flash devices to a small flash subtarget 2024-12-16 00:59:55 +01:00
ltq-vdsl-vr9 ltq-vdsl-vr9: fix missing-prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-vdsl-vr9-mei ltq-vdsl-vr9-mei: fix missing prototypes warnings 2025-05-13 22:02:20 +02:00
ltq-vdsl-vr11 ltq-vdsl-vr11: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00
ltq-vdsl-vr11-mei ltq-vdsl-vr11-mei: fix ignored-qualifiers build warnings 2025-05-13 22:02:19 +02:00
ltq-vectoring lantiq/xrx200: move 8M flash devices to a small flash subtarget 2024-12-16 00:59:55 +01:00
ltq-vmmc ltq-vmmc: fix 'inline' declaration warning 2025-05-13 22:02:20 +02:00
vrx518_ep vrx518_ep: fix macro redefined build error on 6.12 kernel 2025-05-13 22:02:19 +02:00
vrx518_tc vrx518_tc: fix missing-prototypes build warnings 2025-05-13 22:02:19 +02:00