static __init void sandbox_logger_init(void) { if(register_logger(&sandbox_logger)) LOG("Register logger '%s'", sandbox_logger.name); else LOG("Failed to register logger '%s'", sandbox_logger.name); }
static __init void virt_logger_init(void) { if(register_logger(&virt_logger)) LOG("Register logger '%s'", virt_logger.name); else LOG("Failed to register logger '%s'", virt_logger.name); }
static __init void s5p4418_logger_init(void) { pdata.virt = phys_to_virt(pdata.phys); register_logger(&logger); }