M7350/wlan/8192es/DriverSrcPkg/Driver/rtl8192cd_92es/rtl8672_port.c
2024-09-09 08:59:52 +00:00

31 lines
553 B
C
Executable File

#include <linux/kernel.h>
#include <linux/init.h>
#if defined (CONFIG_PRINTK_FUNC)
int scrlog_printk(const char *fmt, ...) {
va_list args;
int r;
va_start(args, fmt);
// r = vprintk(fmt, args);
r = scrlog_vprintk(fmt, args);
va_end(args);
return r;
}
#else
int scrlog_printk(const char *fmt, ...)
{
return 0;
}
#endif
#if defined(CONFIG_PANIC_PRINTK)
int panic_printk(const char *fmt, ...) {
va_list args;
int r;
va_start(args, fmt);
r = vprintk(fmt, args);
va_end(args);
return r;
}
#endif