--- zzzz-none-000/linux-4.19.183/include/linux/moduleloader.h 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/include/linux/moduleloader.h 2023-06-28 08:54:20.000000000 +0000 @@ -29,6 +29,18 @@ /* Free memory returned from module_alloc. */ void module_memfree(void *module_region); +#ifdef CONFIG_BCM_KF_MISC_BACKPORTS +/* Determines if the section name is an init section (that is only used during + * module loading). + */ +bool module_init_section(const char *name); + +/* Determines if the section name is an exit section (that is only used during + * module unloading) + */ +bool module_exit_section(const char *name); +#endif /* #ifdef CONFIG_BCM_KF_MISC_BACKPORTS */ + /* * Apply the given relocation to the (simplified) ELF. Return -error * or 0.