Skip to content
Snippets Groups Projects
Commit 446c82fc authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Marek Szyprowski
Browse files

drivers: dma-contiguous: Don't redefine SZ_1M


Use the definition from linux/sizes.h instead.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
parent 6f0c0580
Branches
Tags
No related merge requests found
......@@ -27,15 +27,12 @@
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/page-isolation.h>
#include <linux/sizes.h>
#include <linux/slab.h>
#include <linux/swap.h>
#include <linux/mm_types.h>
#include <linux/dma-contiguous.h>
#ifndef SZ_1M
#define SZ_1M (1 << 20)
#endif
struct cma {
unsigned long base_pfn;
unsigned long count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment