From: pixo Date: Wed, 23 Mar 2011 07:08:08 +0000 (+0100) Subject: staging: ft1000-pcmcia: Fix ft1000_dnld() to work also on 64bit architectures. X-Git-Tag: v2.6.39-rc3~18^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e5d8ef5beedf47005b1433096c0e30815da9b3;p=pandora-kernel.git staging: ft1000-pcmcia: Fix ft1000_dnld() to work also on 64bit architectures. Firmware file needs to be read by 4bytes also on 64 bit architectures. Change long type to u32 and also extend checking. Tested on 32 and also 64 bit architectures. Signed-off-by: Stano Lanci Signed-off-by: Marek Belisko Tested-by: Stano Lanci Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed