mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
With ISC license text in place under the LICENSES folder switch to using the SPDX license identifier to refer to the ISC license. Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com> Reviewed-by: Franky Lin <franky.lin@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
23 lines
846 B
C
23 lines
846 B
C
// SPDX-License-Identifier: ISC
|
|
/*
|
|
* Copyright (c) 2013 Broadcom Corporation
|
|
*/
|
|
#ifndef BRCMFMAC_BCDC_H
|
|
#define BRCMFMAC_BCDC_H
|
|
|
|
#ifdef CONFIG_BRCMFMAC_PROTO_BCDC
|
|
int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr);
|
|
void brcmf_proto_bcdc_detach_pre_delif(struct brcmf_pub *drvr);
|
|
void brcmf_proto_bcdc_detach_post_delif(struct brcmf_pub *drvr);
|
|
void brcmf_proto_bcdc_txflowblock(struct device *dev, bool state);
|
|
void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
|
|
bool success);
|
|
struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr);
|
|
#else
|
|
static inline int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) { return 0; }
|
|
static void brcmf_proto_bcdc_detach_pre_delif(struct brcmf_pub *drvr) {};
|
|
static inline void brcmf_proto_bcdc_detach_post_delif(struct brcmf_pub *drvr) {}
|
|
#endif
|
|
|
|
#endif /* BRCMFMAC_BCDC_H */
|