mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
pwm: rockchip: fix compilation error on arm
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -114,8 +114,16 @@ module_param_named(dbg_level, pwm_dbg_level, int, 0644);
|
||||
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ARM64
|
||||
extern int rk3368_lcdc_update_pwm(int bl_pwm_period, int bl_pwm_duty);
|
||||
extern int rk3368_lcdc_cabc_status(void);
|
||||
#else
|
||||
static inline int rk3368_lcdc_update_pwm(int bl_pwm_period, int bl_pwm_duty)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline int rk3368_lcdc_cabc_status(void) { return 0; }
|
||||
#endif
|
||||
|
||||
static inline void rk_pwm_writel(struct rk_pwm_chip *chip,
|
||||
unsigned int num, unsigned long offset,
|
||||
|
||||
Reference in New Issue
Block a user