summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/brcmfmac/dhd_proto.h
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-06-29 16:47:02 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 09:57:15 -0700
commite51b3e52fd657845a1a7319563915c54d2b6a93b (patch)
treeb0995ee3272ef15fc9347f6d0305a66be49c71a3 /drivers/staging/brcm80211/brcmfmac/dhd_proto.h
parent6608a2f1a02a9d3e6efe692860abc810bb74afb4 (diff)
downloadop-kernel-dev-e51b3e52fd657845a1a7319563915c54d2b6a93b.zip
op-kernel-dev-e51b3e52fd657845a1a7319563915c54d2b6a93b.tar.gz
staging: brcm80211: remove extern function prototypes from c files
It is not recommended to specify function prototypes in c sources using the extern keyword. Several occurrences have been removed or placed in a header file or simply removed as it was already present in a header file. Signed-off-by: Arend van Spriel <arend@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac/dhd_proto.h')
-rw-r--r--drivers/staging/brcm80211/brcmfmac/dhd_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_proto.h b/drivers/staging/brcm80211/brcmfmac/dhd_proto.h
index 188b588..f75eb1c 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_proto.h
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_proto.h
@@ -71,6 +71,11 @@ extern int dhd_ioctl(dhd_pub_t *dhd_pub, dhd_ioctl_t *ioc, void *buf,
extern int dhd_preinit_ioctls(dhd_pub_t *dhd);
+#if defined(CONFIG_HAS_EARLYSUSPEND)
+extern int dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf,
+ uint len);
+#endif /* defined(CONFIG_HAS_EARLYSUSPEND) */
+
/********************************
* For version-string expansion *
*/
OpenPOWER on IntegriCloud