linux_module_learn/device_model/pub.h

12 lines
172 B
C
Raw Normal View History

2023-07-22 13:42:32 +08:00
#ifndef _PUB_H
#define _PUB_H
#ifdef DEBUG
#define PDEBUG(fmt, args...) printk(KERN_INFO "device model:: " fmt, ##args)
#else
#define PDEBUG(fmt, args...)
#endif
#endif