• Adrian Bunk's avatar
    [PATCH] USB: fix usb/serial/console.c compile error · a8ab1205
    Adrian Bunk authored
    The following compile error seems to come from Linus' tree:
    
    
    <--  snip  -->
    
    ...
      CC      drivers/usb/serial/bus.o
      CC      drivers/usb/serial/console.o
    drivers/usb/serial/console.c: In function `usb_console_write':
    drivers/usb/serial/console.c:221: warning: passing arg 3 of pointer to function makes integer from pointer without a cast
    drivers/usb/serial/console.c:221: error: too many arguments to function
    drivers/usb/serial/console.c:223: warning: passing arg 3 of `usb_serial_generic_write' makes integer from pointer without a cast
    drivers/usb/serial/console.c:223: error: too many arguments to function `usb_serial_generic_write'
    make[3]: *** [drivers/usb/serial/console.o] Error 1
    
    <--  snip  -->
    
    
    This was caused by the changed "write" in usb_serial_device_type.
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    a8ab1205
console.c 5.77 KB