Re: [PATCH] soc: qcom: cmd-db: Fix compilation error when CMD_DB is disabled

From: Stephen Boyd
Date: Thu Feb 27 2020 - 16:53:39 EST


Quoting Sibi Sankar (2020-02-27 04:56:15)
> If CONFIG_QCOM_COMMAND_DB=n the following compilation errors will be
> seen. Fix this by including the appropriate linux headers.
>
> ./include/soc/qcom/cmd-db.h: In function \u2018cmd_db_read_aux_data\u2019:
> ./include/soc/qcom/cmd-db.h: error: implicit declaration of function \u2018ERR_PTR\u2019;
>
> Signed-off-by: Sibi Sankar <sibis@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>