Hardware Design: SIE
Sign in or create your account | Project List | Help
Hardware Design: SIE Git Source Tree
Root/
| 1 | #include <linux/module.h> |
| 2 | #include <linux/vermagic.h> |
| 3 | #include <linux/compiler.h> |
| 4 | |
| 5 | MODULE_INFO(vermagic, VERMAGIC_STRING); |
| 6 | |
| 7 | struct module __this_module |
| 8 | __attribute__((section(".gnu.linkonce.this_module"))) = { |
| 9 | .name = KBUILD_MODNAME, |
| 10 | .init = init_module, |
| 11 | #ifdef CONFIG_MODULE_UNLOAD |
| 12 | .exit = cleanup_module, |
| 13 | #endif |
| 14 | .arch = MODULE_ARCH_INIT, |
| 15 | }; |
| 16 | |
| 17 | static const char __module_depends[] |
| 18 | __used |
| 19 | __attribute__((section(".modinfo"))) = |
| 20 | "depends="; |
| 21 | |
| 22 |
Branches:
master
