forked from luck/tmp_suning_uos_patched
drivers: dma-contiguous: Don't redefine SZ_1M
Use the definition from linux/sizes.h instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
This commit is contained in:
parent
6f0c0580b7
commit
446c82fc44
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user