mirror of https://github.com/hak5/openwrt.git
22 lines
444 B
C
22 lines
444 B
C
|
#include <linux/module.h>
|
||
|
#include <linux/vermagic.h>
|
||
|
#include <linux/compiler.h>
|
||
|
|
||
|
MODULE_INFO(vermagic, VERMAGIC_STRING);
|
||
|
|
||
|
struct module __this_module
|
||
|
__attribute__((section(".gnu.linkonce.this_module"))) = {
|
||
|
.name = KBUILD_MODNAME,
|
||
|
.init = init_module,
|
||
|
#ifdef CONFIG_MODULE_UNLOAD
|
||
|
.exit = cleanup_module,
|
||
|
#endif
|
||
|
.arch = MODULE_ARCH_INIT,
|
||
|
};
|
||
|
|
||
|
static const char __module_depends[]
|
||
|
__used
|
||
|
__attribute__((section(".modinfo"))) =
|
||
|
"depends=";
|
||
|
|