2008-08-28 03:01:36 +02:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/dma-mapping.h>
|
2009-08-10 04:53:17 +02:00
|
|
|
#include <linux/dma-debug.h>
|
2008-08-28 03:01:36 +02:00
|
|
|
|
2009-08-10 04:53:17 +02:00
|
|
|
#define PREALLOC_DMA_DEBUG_ENTRIES (1 << 15)
|
2008-08-28 03:01:36 +02:00
|
|
|
|
2009-08-10 04:53:17 +02:00
|
|
|
static int __init dma_init(void)
|
2008-08-28 03:01:36 +02:00
|
|
|
{
|
2009-08-10 04:53:17 +02:00
|
|
|
dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
|
2008-08-28 03:01:36 +02:00
|
|
|
return 0;
|
|
|
|
}
|
2009-08-10 04:53:17 +02:00
|
|
|
fs_initcall(dma_init);
|