Commit | Line | Data |
---|---|---|
18c411b7 MS |
1 | /* |
2 | * linux/arch/arm/mach-exynos/dev-drm.c | |
3 | * | |
4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * EXYNOS - core DRM device | |
8 | * | |
9 | * This program is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License as published by | |
11 | * the Free Software Foundation; either version 2 of the License, or | |
12 | * (at your option) any later version. | |
13 | */ | |
14 | ||
15 | #include <linux/kernel.h> | |
16 | #include <linux/dma-mapping.h> | |
17 | #include <linux/platform_device.h> | |
18 | ||
19 | #include <plat/devs.h> | |
20 | ||
21 | static u64 exynos_drm_dma_mask = DMA_BIT_MASK(32); | |
22 | ||
23 | struct platform_device exynos_device_drm = { | |
24 | .name = "exynos-drm", | |
25 | .dev = { | |
26 | .dma_mask = &exynos_drm_dma_mask, | |
27 | .coherent_dma_mask = DMA_BIT_MASK(32), | |
28 | } | |
29 | }; |