aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05staging: brcm80211: rename external function in wl_cfg80211.cArend van Spriel4-26/+27
Renamed external function getting rid of wl_ prefix. Removed unused function from the API header file wl_cfg80211.h as it was not defined. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename pointer conversion macros in wl_cfg80211.hArend van Spriel2-81/+76
The data structures in fullmac driver references are made easier by using provided macros in wl_cfg80211.h. The abbreviation 'wl' in these macros has been replaced by cfg or the macro has been removed if used only once. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename structures and variables in wl_cfg80211.cArend van Spriel2-654/+695
Making an effort getting rid of the wl_ prefix from the fullmac source files. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unused definitions from dhd_sdio.cRoland Vossen1-23/+2
Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: W_REG macro cleanup in fullmac SDIORoland Vossen1-13/+5
Code cleanup. W_REG was defined the same for both big and little endian systems. Replaced W_REG on two spots with its expansion. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed last amd64 compiler warningsRoland Vossen5-20/+20
Code cleanup. Warnings were due to pointer declarations being used for an address that does not reside on the CPU bus. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: got rid of redundant member 'regs' of struct dhd_busRoland Vossen1-7/+5
Code cleanup. Decreases amd64 compiler warnings. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced macro W_SDREG by function w_sdreg()Roland Vossen1-33/+41
Code cleanup. Leads to more readable code and better type checking. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced macro R_SDREG by function r_sdreg()Roland Vossen1-28/+40
Code cleanup. Leads to more readable code and better type checking. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: fullmac register access macro's take u32 instead of pointersRoland Vossen1-39/+38
Code cleanup. Fullmac contains macro's that access registers on the 32 bits backplane bus. These registers should not be declared as pointers since pointers can be 64 bits. The following patch series gets rid of these pointers and ultimately of all compiler warning when compiling for amd64. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unused code and definitions from fullmacRoland Vossen12-345/+0
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed last typedefs from fullmacRoland Vossen11-86/+97
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename dhd_bus structure and functionsArend van Spriel5-125/+125
The header file dhd_bus.h contains several function prototypes starting with dhd_bus_ and using parameter with struct dhd_bus. These function and structure have been renamed to brcmf_bus. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename function variablesArend van Spriel4-250/+246
This commit gets rid of variables whose name is a broadcom specific acronym and not very meaningful. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: further cleaned fullmac header filesRoland Vossen9-268/+228
Code cleanup. Deleted unused definitions. Moved locally used definitions to .c files. Moved definitions from bcmsdh_sdmmc.h to bcmsdbus.h. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed file sdiovar.hRoland Vossen6-41/+16
Code cleanup. Contents merged into other files. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed brcmf_sdioh_start() and brcmf_sdioh_stop()Roland Vossen4-30/+0
Code cleanup. These functions were empty. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed brcmf_sdioh_reset()Roland Vossen5-21/+0
Code cleanup. This function did not perform a reset, hence it was removed. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed brcmf_sdioh_interrupt_pending()Roland Vossen5-26/+1
Code cleanup. This function always returned 0. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: sdh related code cleanupRoland Vossen5-342/+345
Gave struct brcmf_sdio the more applicable name 'brcmf_sdio_card'. Enforced stronger type checking by replacing void *sdh by struct brcmf_sdio_card *. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed last occurrences of bcmsdh/BCMSDHRoland Vossen7-230/+225
Code cleanup. This was a Broadcom specific acronym. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/rtl*/Jesper Juhl27-28/+0
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/rtl8187se/, drivers/staging/rtl8192e/, drivers/staging/rtl8192u/ & drivers/staging/rtl8712/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from drivers/staging/bcm/headers.hJesper Juhl1-1/+0
It was pointed out by 'make versioncheck' that a include of linux/version.h is not needed in drivers/staging/bcm/headers.h . This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from drivers/staging/cxd2099/cxd2099.cJesper Juhl1-1/+0
It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/cxd2099/cxd2099.c . This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from ↵Jesper Juhl1-1/+0
drivers/staging/cxt1e1/sbecom_inline_linux.h It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/cxt1e1/sbecom_inline_linux.h This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes (and add where needed) for ↵Jesper Juhl2-1/+1
drivers/staging/easycap/ It was pointed out by 'make versioncheck' that linux/version.h was not always being included where needed and sometimes included needlessly in drivers/staging/easycap/. This patch fixes up the includes. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/lirc/Jesper Juhl2-3/+0
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/lirc/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/msm/Jesper Juhl5-6/+1
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/msm/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from drivers/staging/panel/panel.cJesper Juhl1-1/+0
It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/panel/panel.c This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from drivers/staging/rts_pstor/rtsx.hJesper Juhl1-1/+0
It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/rts_pstor/rtsx.h This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/speakup/Jesper Juhl2-2/+0
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/speakup/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from ↵Jesper Juhl1-1/+0
drivers/staging/tidspbridge/include/dspbridge/host_os.h It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/tidspbridge/include/dspbridge/host_os.h This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes (and add where needed) for drivers/tm6000/Jesper Juhl3-4/+1
It was pointed out by 'make versioncheck' that linux/version.h was not always being included where needed and sometimes included needlessly in drivers/staging/tm6000/. This patch fixes up the includes. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/wlags49_h2/Jesper Juhl2-2/+0
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/wlags49_h2/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h include from drivers/staging/wlan-ng/prism2sta.cJesper Juhl1-1/+0
It was pointed out by 'make versioncheck' that include of linux/version.h is not needed in drivers/staging/wlan-ng/prism2sta.c . This patch removes it. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Remove unneeded version.h includes from drivers/staging/xgifb/Jesper Juhl4-4/+0
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/xgifb/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000: Merge common definitions from USB and PCMCIA driversOndrej Zary4-682/+264
Merge common definitions from ft1000-usb and ft1000-pcmcia drivers to a common ft1000.h file. This revealed two odd things in ft1000-usb which might be bugs so add comments about them to ft1000_usb.h. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove support for v5 firmwareOndrej Zary1-293/+129
Remove support for v5 firmware images as all known firmware images are v6. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove PSEUDOSZ, use sizeof(struct pseudo_hdr) insteadOndrej Zary2-6/+4
PSEUDOSZ seems to define struct pseudo_hdr size. Remove it and use sizeof(struct pseudo_hdr) directly. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: CodingStyle fixes in ft1000.hOndrej Zary1-324/+297
Major CodingStyle fixes in ft1000.h Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove useless ft1000_release() functionOndrej Zary1-15/+1
Remove useless ft1000_release() function. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove unused includes from ft1000_cs.cOndrej Zary1-15/+0
Remove unused includes from ft1000_cs.c Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: coding style fixes in ft1000_cs.cOndrej Zary1-17/+12
Minor coding style fixes in ft1000_cs.c Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove unused ft1000_asic_read and ft1000_asic_write ↵Ondrej Zary1-34/+0
functions Functions ft1000_asic_read() and ft1000_asic_write() are unused. Remove them. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove misleading and template comments from ft1000_cs.cOndrej Zary1-73/+5
Remove misleading, useless and template comments from ft1000_cs.c Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove useless debugging from ft1000_cs.cOndrej Zary1-18/+0
Remove useless debugging from ft1000_cs.c Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove useless defines from ft1000_cs.cOndrej Zary1-7/+0
Remove unused defines from ft1000_cs.c Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove custom defines for standard typesOndrej Zary3-105/+92
Remove custom defines for standard types (u8, u16, u32...) Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove unused fields from struct ft1000_infoOndrej Zary3-51/+15
Remove 13 unused fields from struct ft1000_info. Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ft1000-pcmcia: remove firmware download typedefsOndrej Zary1-18/+18
Remove firmware download typedefs: DFP_FILE_HDR, DSP_FILE_HDR_5, DSP_IMAGE_INFO, DSP_IMAGE_INFO_V6 Signed-off-by: Ondrej Zary <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>