mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk30: clock: better support log
This commit is contained in:
@@ -175,10 +175,14 @@ void rk30_clkdev_add(struct clk_lookup *cl);
|
||||
#define cru_writel_frac(v,offset) cru_writel((v),(offset))
|
||||
#endif
|
||||
|
||||
|
||||
#define CRU_PRINTK_DBG(fmt, args...) {while(0);}//pr_debug(fmt, ## args);
|
||||
#define CRU_PRINTK_ERR(fmt, args...) pr_err(fmt, ## args);
|
||||
#define CRU_PRINTK_LOG(fmt, args...) pr_debug(fmt, ## args);
|
||||
#ifdef DEBUG
|
||||
#define CRU_PRINTK_DBG(fmt, args...) pr_debug(fmt, ## args)
|
||||
#define CRU_PRINTK_LOG(fmt, args...) pr_debug(fmt, ## args)
|
||||
#else
|
||||
#define CRU_PRINTK_DBG(fmt, args...) do {} while(0)
|
||||
#define CRU_PRINTK_LOG(fmt, args...) do {} while(0)
|
||||
#endif
|
||||
#define CRU_PRINTK_ERR(fmt, args...) pr_err(fmt, ## args)
|
||||
|
||||
|
||||
#define get_cru_bits(con,mask,shift)\
|
||||
|
||||
Reference in New Issue
Block a user