*/
static void smd_tty_log_init(void)
{
+#ifdef CONFIG_IPC_LOGGING
smd_tty_log_ctx = ipc_log_context_create(SMD_TTY_LOG_PAGES,
"smd_tty", 0);
if (!smd_tty_log_ctx)
pr_err("%s: Unable to create IPC log", __func__);
+#endif
}
static struct tty_driver *smd_tty_driver;