#include #include #include struct notifier_err_inject_action { unsigned long val; int error; const char *name; }; #define NOTIFIER_ERR_INJECT_ACTION(action) \ .name = #action, .val = (action), struct notifier_err_inject { struct notifier_block nb; struct notifier_err_inject_action actions[]; /* The last slot must be terminated with zero sentinel */ }; extern struct dentry *notifier_err_inject_dir; extern struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, struct notifier_err_inject *err_inject, int priority); ='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2016-11-09 03:40:58 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-11-15 17:05:33 +0200
commit19f338c6eb0cf69e8ee6d2f1382e6e6da21d65de (patch)
treee761da9149dd28cb155481f327c0219982356d98
parentfcf7cf1551cae54e747a771f5808240f2a37708f (diff)
ath10k: clean up HTT tx buffer allocation and free
cleanup 'ath10k_htt_tx_alloc' by introducing the API's 'ath10k_htt_tx_alloc/free_{cont_txbuf, txdone_fifo} and re-use them whereever needed Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>