|
Revision 12398, 464 bytes
(checked in by BrainSlayer, 5 months ago)
|
ar8216 switch support
|
| Line | |
|---|
| 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 |
__attribute_used__ |
|---|
| 19 |
__attribute__((section(".modinfo"))) = |
|---|
| 20 |
"depends=swconfig"; |
|---|
| 21 |
|
|---|