bna: remove oper_state_cbfn from struct bna_rxf
[linux/fpc-iii.git] / drivers / usb / gadget / udc / bdc / bdc_dbg.h
blob338a6c70131590e8ee22d81b0eb2923ad3a1db22
1 /*
2 * bdc_dbg.h - header for the BDC debug functions
4 * Copyright (C) 2014 Broadcom Corporation
6 * Author: Ashwini Pahuja
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
14 #ifndef __LINUX_BDC_DBG_H__
15 #define __LINUX_BDC_DBG_H__
17 #include "bdc.h"
19 #ifdef CONFIG_USB_GADGET_VERBOSE
20 void bdc_dbg_bd_list(struct bdc *, struct bdc_ep*);
21 void bdc_dbg_srr(struct bdc *, u32);
22 void bdc_dbg_regs(struct bdc *);
23 void bdc_dump_epsts(struct bdc *);
24 #else
25 static inline void bdc_dbg_regs(struct bdc *bdc)
26 { }
28 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num)
29 { }
31 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep)
32 { }
34 static inline void bdc_dump_epsts(struct bdc *bdc)
35 { }
36 #endif /* CONFIG_USB_GADGET_VERBOSE */
37 #endif /* __LINUX_BDC_DBG_H__ */