cal-if: Fix compilation when debugfs is disabled
Add a stub for cal_register_pd_lookup_cmu_id() when debugfs is disabled to fix CONFIG_DEBUG_FS=n compilation. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This commit is contained in:
parent
a11f1b3dd0
commit
5599f77e14
1 changed files with 5 additions and 0 deletions
|
@ -126,7 +126,12 @@ extern int cal_chub_reset_release(void);
|
|||
extern int cal_init(void);
|
||||
extern int cal_if_init(void *);
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
extern void cal_register_pd_lookup_cmu_id(void *(*func)(u32 cmu_id));
|
||||
#else
|
||||
static inline
|
||||
void cal_register_pd_lookup_cmu_id(void *(*func)(u32 cmu_id)) { }
|
||||
#endif
|
||||
/* It is for debugging. */
|
||||
#define cal_vclk_dbg_info(a) do{} while(0);
|
||||
//extern void cal_vclk_dbg_info(unsigned int id);
|
||||
|
|
Loading…
Add table
Reference in a new issue