www.pudn.com > driverII_demo.rar > scull.mod.c
#include#include #include MODULE_INFO(vermagic, VERMAGIC_STRING); #undef unix struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = __stringify(KBUILD_MODNAME), .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, #endif }; static const struct modversion_info ____versions[] __attribute_used__ __attribute__((section("__versions"))) = { { 0xf5172763, "struct_module" }, { 0xf4f6025c, "devfs_remove" }, { 0xf3011e72, "class_simple_destroy" }, { 0xe2f1e52c, "class_simple_device_remove" }, { 0xc192d491, "unregister_chrdev" }, { 0xf13a5402, "devfs_mk_cdev" }, { 0x8755ff95, "devfs_mk_dir" }, { 0x1cf250d2, "class_simple_device_add" }, { 0x70279767, "class_simple_create" }, { 0xc171f0a7, "register_chrdev" }, { 0x1b7d4074, "printk" }, { 0xd6c963c, "copy_from_user" }, { 0x7da8156e, "__kmalloc" }, { 0x2f287f0d, "copy_to_user" }, { 0x60a4461c, "__up_wakeup" }, { 0x625acc81, "__down_failed_interruptible" }, { 0x6a6f0027, "kmem_cache_alloc" }, { 0x3de88ff0, "malloc_sizes" }, { 0x37a0cba, "kfree" }, }; static const char __module_depends[] __attribute_used__ __attribute__((section(".modinfo"))) = "depends=";