summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/device.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-01-09 04:16:48 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-21 20:19:11 (GMT)
commit31d5bbf3da8c3c9de5944f2c09cbc7ea5a72bdb4 (patch)
treee9433299115060e9516d8e600b0396e8dba722c3 /drivers/staging/vt6656/device.h
parentf1bc434398e8cf400374911357e89a13de366ce7 (diff)
downloadlinux-fsl-qoriq-31d5bbf3da8c3c9de5944f2c09cbc7ea5a72bdb4.tar.xz
vt6656: Use request_firmware() to load firmware
The file added to linux-firmware is a copy of the current array which does not have a recognisable header, so no validation is done. Change the firmware version check to accept newer versions. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/device.h')
-rw-r--r--drivers/staging/vt6656/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index e8d0b42..f1496ec 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -55,6 +55,7 @@
#include <linux/reboot.h>
#include <linux/usb.h>
#include <linux/signal.h>
+#include <linux/firmware.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#ifdef SIOCETHTOOL
@@ -421,6 +422,8 @@ typedef struct __device_info {
struct net_device* dev;
struct net_device_stats stats;
+ const struct firmware *firmware;
+
OPTIONS sOpts;
struct tasklet_struct CmdWorkItem;