void timeout(unsigned long ptr) { printk("Hola\n"); } init_timer(&timer); timer.function = timeout; timer.expires = 2000; add_timer(&timer);