#include #include MODULE_LICENSE("Dual BSD/GPL"); int g_my_export = 0xA ; static int hello_init(void) { printk(KERN_ALERT "Hello, world\n"); return 0; } static void hello_exit(void) { printk(KERN_ALERT "Goodbye, cruel world\n"); } EXPORT_SYMBOL(g_my_export) ; module_init(hello_init); module_exit(hello_exit);