]> err.no Git - linux-2.6/commitdiff
USB: fix Oops on loading ipaq module since 2.6.26
authorOliver Neukum <oliver@neukum.org>
Thu, 3 Jul 2008 08:05:57 +0000 (10:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jul 2008 01:20:38 +0000 (18:20 -0700)
Fixes bugzilla.kernel.org #10868

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipaq.c

index ea924dc48496de2b8ca7341c5de69217c3ad8a7e..5e15dec9f315f319eab3ed98091ed57d6ba7d09c 100644 (file)
@@ -570,7 +570,7 @@ static struct usb_serial_driver ipaq_device = {
        .description =          "PocketPC PDA",
        .usb_driver =           &ipaq_driver,
        .id_table =             ipaq_id_table,
-       .num_ports =            2,
+       .num_ports =            1,
        .open =                 ipaq_open,
        .close =                ipaq_close,
        .attach =               ipaq_startup,