aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/include/odm_interface.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-12-22 17:36:55 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-08 19:18:08 -0800
commitf395036dbaf311a879b4a935e3f93b655e5f58da (patch)
tree14ae4638427617f5cd163c888091cd08e9ee7587 /drivers/staging/rtl8188eu/include/odm_interface.h
parentstaging: r8188eu: Remove unneeded prototypes from include/odm.h (diff)
downloadlinux-dev-f395036dbaf311a879b4a935e3f93b655e5f58da.tar.xz
linux-dev-f395036dbaf311a879b4a935e3f93b655e5f58da.zip
staging: r8188eu: Additional cleanup of include/odm.h
This driver only works with the USB bus. Accordingly, enum odm_interface_def can be removed along with all code that uses ODM_ITRF_XXX, where XXX is not USB. In enum odm_ic_type, only ODM_RTL8188E is used. Remove the enum, all references to the others, and define the needed value. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/odm_interface.h')
-rw-r--r--drivers/staging/rtl8188eu/include/odm_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h b/drivers/staging/rtl8188eu/include/odm_interface.h
index 7cefb97dd94e..22f451e1c4c5 100644
--- a/drivers/staging/rtl8188eu/include/odm_interface.h
+++ b/drivers/staging/rtl8188eu/include/odm_interface.h
@@ -51,7 +51,7 @@ ODM_REG(DIG,_pDM_Odm)
#define _cat(_name, _ic_type, _func) \
( \
- ((_ic_type) & ODM_IC_11N_SERIES) ? _func##_11N(_name) : \
+ (_ic_type) ? _func##_11N(_name) : \
_func##_11AC(_name) \
)