diff options
Diffstat (limited to 'drivers/base/dmapool.c')
-rw-r--r-- | drivers/base/dmapool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dmapool.c b/drivers/base/dmapool.c index fa4675254f67..dbe0735f8c9e 100644 --- a/drivers/base/dmapool.c +++ b/drivers/base/dmapool.c | |||
@@ -126,7 +126,7 @@ dma_pool_create (const char *name, struct device *dev, | |||
126 | } else if (allocation < size) | 126 | } else if (allocation < size) |
127 | return NULL; | 127 | return NULL; |
128 | 128 | ||
129 | if (!(retval = kmalloc (sizeof *retval, SLAB_KERNEL))) | 129 | if (!(retval = kmalloc (sizeof *retval, GFP_KERNEL))) |
130 | return retval; | 130 | return retval; |
131 | 131 | ||
132 | strlcpy (retval->name, name, sizeof retval->name); | 132 | strlcpy (retval->name, name, sizeof retval->name); |