1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * PCC (Platform Communications Channel) methods
9 #include <linux/mailbox_controller.h>
10 #include <linux/mailbox_client.h>
12 #define MAX_PCC_SUBSPACES 256
14 extern struct mbox_chan
*pcc_mbox_request_channel(struct mbox_client
*cl
,
16 extern void pcc_mbox_free_channel(struct mbox_chan
*chan
);
18 static inline struct mbox_chan
*pcc_mbox_request_channel(struct mbox_client
*cl
,
21 return ERR_PTR(-ENODEV
);
23 static inline void pcc_mbox_free_channel(struct mbox_chan
*chan
) { }