|
From: Jan-Benedict G. <jb...@us...> - 2005-02-25 18:13:56
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/input/mouse In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23925 Modified Files: vsxxxaa.c Log Message: - Minor fixup: make functions static, rename variable. Index: vsxxxaa.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/input/mouse/vsxxxaa.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- vsxxxaa.c 18 Nov 2004 20:41:47 -0000 1.24 +++ vsxxxaa.c 25 Feb 2005 18:13:46 -0000 1.25 @@ -45,7 +45,7 @@ * | 4 --- 3 | * \ 2 1 / * ------- - * + * * DEC socket DE9 DB25 Note * 1 (GND) 5 7 - * 2 (RxD) 2 3 - @@ -489,7 +489,7 @@ } static void -vsxxxaa_connect (struct serio *serio, struct serio_driver *dev) +vsxxxaa_connect (struct serio *serio, struct serio_driver *drv) { struct vsxxxaa *mouse; @@ -529,9 +529,10 @@ mouse->dev.name = mouse->name; mouse->dev.phys = mouse->phys; mouse->dev.id.bustype = BUS_RS232; + mouse->dev.dev = &serio->dev; mouse->serio = serio; - if (serio_open (serio, dev)) { + if (serio_open (serio, drv)) { kfree (mouse); return; } @@ -557,14 +558,14 @@ .disconnect = vsxxxaa_disconnect, }; -int __init +static int __init vsxxxaa_init (void) { serio_register_driver (&vsxxxaa_drv); return 0; } -void __exit +static void __exit vsxxxaa_exit (void) { serio_unregister_driver (&vsxxxaa_drv); |