X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Facpi%2Fpcc.h;h=8caa79c617035e60a41ee850150d2b472f35df5a;hb=2cd0b50a189febfe1855b13be98297a621864741;hp=17a940a1447716420d076be01e3402eb314bafb0;hpb=689f891c980949d3eb64f61651db53cb347e0a13;p=cascardo%2Flinux.git diff --git a/include/acpi/pcc.h b/include/acpi/pcc.h index 17a940a14477..8caa79c61703 100644 --- a/include/acpi/pcc.h +++ b/include/acpi/pcc.h @@ -21,7 +21,7 @@ extern void pcc_mbox_free_channel(struct mbox_chan *chan); static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id) { - return NULL; + return ERR_PTR(-ENODEV); } static inline void pcc_mbox_free_channel(struct mbox_chan *chan) { } #endif