From: Oliver Neukum Date: Thu, 3 Jul 2008 08:05:57 +0000 (+0200) Subject: USB: fix Oops on loading ipaq module since 2.6.26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4edb966b375dfbabfc96b580a164c5ae90584aa0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git USB: fix Oops on loading ipaq module since 2.6.26 Fixes bugzilla.kernel.org #10868 Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c index ea924dc4849..5e15dec9f31 100644 --- a/drivers/usb/serial/ipaq.c +++ b/drivers/usb/serial/ipaq.c @@ -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,