Fix modular build --- speakup/speakup.c.orig 2005-06-22 23:00:34.000000000 +0100 +++ speakup/speakup.c 2005-06-22 23:25:36.000000000 +0100 @@ -2266,9 +2266,9 @@ static int __init mod_speakup_init( void { int i; spk_t *first_console = (spk_t *) kmalloc (spk_size + 1, GFP_KERNEL ); - speakup_open( fg_console, first_console ); + speakup_open( vc_cons[fg_console].d, first_console ); for ( i = 0; vc_cons[i].d; i++) - speakup_allocate(i); + speakup_allocate(vc_cons[i].d); speakup_set_addresses( speakup_allocate, speakup_bs, speakup_con_write, speakup_con_update, speakup_key ); proc_speakup_init( ); --- speakup/diff-v26/include^linux^speakup.h.copy.orig 2005-06-22 23:00:37.000000000 +0100 +++ speakup/diff-v26/include^linux^speakup.h.copy 2005-06-22 23:26:15.000000000 +0100 @@ -21,8 +21,8 @@ extern int speakup_key ( int, u_char, u_ extern int speakup_key(struct vc_data*, int, int, u_short, int, struct pt_regs *); #endif #elif defined(CONFIG_SPEAKUP_MODULE) -typedef void (*spk_con_func)(int ); -typedef void (*spk_write_func)(int, const char *, int); +typedef void (*spk_con_func)(struct vc_data * ); +typedef void (*spk_write_func)(struct vc_data *, const char *, int); #if (LINUX_VERSION_CODE < 132419) typedef int (*spk_key_func)(int, u_char, u_short, u_char ); #else