aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/rt2860/rtmp.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2010-01-18 03:25:56 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:48 -0800
commitc22202faade08b6b45f14fd86bfb57f79d73464c (patch)
treef6596a34f3ae3b772860025249104cd1f2f09bc1 /drivers/staging/rt2860/rtmp.h
parent8838d2560a8ccbc5e03688d55bf075793b36a04e (diff)
Staging: rt{2860,2870}sta: Use request_firmware() to load firmware
When originally introduced into staging, these drivers had custom firmware-loading code which checked a version number and CRC at the end of each blob. This reintroduces those checks, using crc-ccitt instead of custom code. The removed firmware will be added to the linux-firmware.git repository. Based on work by Darren Salt <linux@youmustbejoking.demon.co.uk>. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Tested-By: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/rtmp.h')
-rw-r--r--drivers/staging/rt2860/rtmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rt2860/rtmp.h b/drivers/staging/rt2860/rtmp.h
index 6c6503d2438..4401a55bda6 100644
--- a/drivers/staging/rt2860/rtmp.h
+++ b/drivers/staging/rt2860/rtmp.h
@@ -1719,6 +1719,7 @@ struct rt_rtmp_adapter {
void *OS_Cookie; /* save specific structure relative to OS */
struct net_device *net_dev;
unsigned long VirtualIfCnt;
+ const struct firmware *firmware;
struct rt_rtmp_chip_op chipOps;
u16 ThisTbttNumToNextWakeUp;