]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
usb/serial: fix function args warnings, dropping *filp
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 3 Apr 2011 18:42:00 +0000 (11:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Apr 2011 15:35:20 +0000 (08:35 -0700)
commit4acfaf829dacb8f8170b439d30065e8d2cfdaac9
tree8cd9b0468331d7d3797aaa5d6ff8f877423e9584
parent3e858759f72931683cb4a938871bac7a87d0de56
usb/serial: fix function args warnings, dropping *filp

Fix build warnings caused by removal of *filp arg in struct
usb_serial_driver.

These changes were missed somehow in commits 00a0d0d65b61 ("tty: remove
filp from the USB tty ioctls") and 60b33c133ca0b ("tiocmget: kill off
the passing of the struct file")

  drivers/usb/serial/mct_u232.c:159: warning: initialization from incompatible pointer type
  drivers/usb/serial/opticon.c:627: warning: initialization from incompatible pointer type

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/mct_u232.c
drivers/usb/serial/opticon.c