blob: b667aa6f28f648610aa0efe0c17d08c75c57daa8 [file] [log] [blame]
David S. Miller944c67df2008-08-27 18:01:36 -07001#include <linux/kernel.h>
David S. Miller944c67df2008-08-27 18:01:36 -07002#include <linux/dma-mapping.h>
FUJITA Tomonori451d7402009-08-10 11:53:17 +09003#include <linux/dma-debug.h>
David S. Miller944c67df2008-08-27 18:01:36 -07004
FUJITA Tomonori451d7402009-08-10 11:53:17 +09005#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 15)
David S. Miller944c67df2008-08-27 18:01:36 -07006
FUJITA Tomonori451d7402009-08-10 11:53:17 +09007static int __init dma_init(void)
David S. Miller944c67df2008-08-27 18:01:36 -07008{
FUJITA Tomonori451d7402009-08-10 11:53:17 +09009 dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
David S. Miller944c67df2008-08-27 18:01:36 -070010 return 0;
11}
FUJITA Tomonori451d7402009-08-10 11:53:17 +090012fs_initcall(dma_init);