aboutsummaryrefslogtreecommitdiffstats
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
parentdrivers/net: request_irq - Remove unnecessary leading & from second arg (diff)
downloadlinux-dev-0e4817470be8d233fb58b5af7b938185dae94d67.tar.xz
linux-dev-0e4817470be8d233fb58b5af7b938185dae94d67.zip
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 f572fcf177a1..43bd510e1872 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