]> err.no Git - linux-2.6/commit
USB: ftdi-elan.c: fixes and cleanups
authorAdrian Bunk <bunk@stusta.de>
Mon, 20 Nov 2006 02:24:44 +0000 (03:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Dec 2006 22:23:37 +0000 (14:23 -0800)
commit9ce8540c884c19c0f5f38c9e85d4bdc192baf321
tree9067a6b202288225d58ecd4233672146e81b8bfb
parent27a3de4cfc3508b30803b7350ca6385b3c53f223
USB: ftdi-elan.c: fixes and cleanups

This patch contains the following possible cleanups:
- make the needlessly global ftdi_release_platform_dev() static
- remove the unused usb_ftdi_elan_read_reg()
- proper prototypes for the following functions:
  - usb_ftdi_elan_read_pcimem()
  - usb_ftdi_elan_write_pcimem()

Note that the misplaced prototypes for the latter ones in
drivers/usb/host/u132-hcd.c were buggy. Depending on the calling
convention of the architecture calling one of them could have turned
your stack into garbage.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/u132-hcd.c
drivers/usb/misc/ftdi-elan.c
drivers/usb/misc/usb_u132.h