summaryrefslogtreecommitdiffstats
path: root/drivers/misc/iwmc3200top/iwmc3200top.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2009-11-18 23:29:57 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-18 23:29:57 -0800
commit0e4817470be8d233fb58b5af7b938185dae94d67 (patch)
tree64b3d707b1f8b2225e59bf731bf9f54304215d33 /drivers/misc/iwmc3200top/iwmc3200top.h
parenta0607fd3a25ba1848a63a0d925e36d914735ab47 (diff)
iwmc3200top: revamp fw name handling
1. define macro for handling firmware api version 2. add MODULE_FIRMWARE 3. cleanup iwmct_fw_load style Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/iwmc3200top/iwmc3200top.h')
-rw-r--r--drivers/misc/iwmc3200top/iwmc3200top.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/iwmc3200top/iwmc3200top.h b/drivers/misc/iwmc3200top/iwmc3200top.h
index f572fcf177a..43bd510e187 100644
--- a/drivers/misc/iwmc3200top/iwmc3200top.h
+++ b/drivers/misc/iwmc3200top/iwmc3200top.h
@@ -30,6 +30,9 @@
#include <linux/workqueue.h>
#define DRV_NAME "iwmc3200top"
+#define FW_API_VER 1
+#define _FW_NAME(api) DRV_NAME "." #api ".fw"
+#define FW_NAME(api) _FW_NAME(api)
#define IWMC_SDIO_BLK_SIZE 256
#define IWMC_DEFAULT_TR_BLK 64