mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge "drivers: qcom: cmd-db: Report if command DB is initialized as standalone"
This commit is contained in:
commit
961790582c
2 changed files with 19 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ const void *cmd_db_read_aux_data(const char *resource_id, size_t *len);
|
|||
enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id);
|
||||
|
||||
int cmd_db_ready(void);
|
||||
|
||||
bool cmd_db_is_standalone(void);
|
||||
#else
|
||||
static inline u32 cmd_db_read_addr(const char *resource_id)
|
||||
{ return 0; }
|
||||
|
|
@ -35,5 +37,8 @@ static inline enum cmd_db_hw_type cmd_db_read_slave_id(const char *resource_id)
|
|||
|
||||
static inline int cmd_db_ready(void)
|
||||
{ return -ENODEV; }
|
||||
|
||||
static inline bool cmd_db_is_standalone(void)
|
||||
{ return false; }
|
||||
#endif /* CONFIG_QCOM_COMMAND_DB */
|
||||
#endif /* __QCOM_COMMAND_DB_H__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue