mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
soc: qcom: cmd-db: Fix compilation error when CMD_DB is disabled
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 ‘cmd_db_read_aux_data’: ./include/soc/qcom/cmd-db.h: error: implicit declaration of function ‘ERR_PTR’; Change-Id: I76ed6230b00f88cefbb78e5f2ee4a534316078d7 Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Sibi Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]> Git-commit: 7ad18bb5c2c4bd50c8b83d375ee19be992022cf3 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Tushar Nimkar <[email protected]>
This commit is contained in:
parent
aa860b5b17
commit
295e404917
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#ifndef __QCOM_COMMAND_DB_H__
|
||||
#define __QCOM_COMMAND_DB_H__
|
||||
|
||||
#include <linux/err.h>
|
||||
|
||||
enum cmd_db_hw_type {
|
||||
CMD_DB_HW_INVALID = 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue