From: Adrian Bunk Date: Mon, 20 Nov 2006 02:24:44 +0000 (+0100) Subject: USB: ftdi-elan.c: fixes and cleanups X-Git-Tag: v2.6.20-rc1~34^2~40^2~472^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ce8540c884c19c0f5f38c9e85d4bdc192baf321;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed