Linux Audio
Check our new training course
Embedded Linux Audio
1 2 3 4 5 6 7 8 9 10 11
#include <asm/io.h> void * __io_virt_debug(unsigned long x, const char *file, int line) { if (x < PAGE_OFFSET) { printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); return __va(x); } return (void *)x; }