libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_tid_release()
[linux/fpc-iii.git] / include / acpi / pcc.h
blob17a940a1447716420d076be01e3402eb314bafb0
1 /*
2 * PCC (Platform Communications Channel) methods
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */
10 #ifndef _PCC_H
11 #define _PCC_H
13 #include <linux/mailbox_controller.h>
14 #include <linux/mailbox_client.h>
16 #ifdef CONFIG_PCC
17 extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
18 int subspace_id);
19 extern void pcc_mbox_free_channel(struct mbox_chan *chan);
20 #else
21 static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
22 int subspace_id)
24 return NULL;
26 static inline void pcc_mbox_free_channel(struct mbox_chan *chan) { }
27 #endif
29 #endif /* _PCC_H */