diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-19 18:01:26 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-19 18:01:26 (GMT) |
commit | ab5a4e6381d27a6554e6833383e536773e3a6ec1 (patch) | |
tree | 88cfa18c33229cea756c2308607c26c1f19e9203 /arch/arm/mach-exynos/dev-drm.c | |
parent | 36be50515fe2aef61533b516fa2576a2c7fe7664 (diff) | |
parent | 5ddfa8428b9f21453b1160846143e0b50d51b27c (diff) | |
download | linux-fsl-qoriq-ab5a4e6381d27a6554e6833383e536773e3a6ec1.tar.xz |
Merge branch 'next/devel-samsung' into next/devel-samsung-2
Diffstat (limited to 'arch/arm/mach-exynos/dev-drm.c')
-rw-r--r-- | arch/arm/mach-exynos/dev-drm.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/dev-drm.c b/arch/arm/mach-exynos/dev-drm.c new file mode 100644 index 0000000..17c9c6e --- /dev/null +++ b/arch/arm/mach-exynos/dev-drm.c @@ -0,0 +1,29 @@ +/* + * linux/arch/arm/mach-exynos/dev-drm.c + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * EXYNOS - core DRM device + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + +#include <linux/kernel.h> +#include <linux/dma-mapping.h> +#include <linux/platform_device.h> + +#include <plat/devs.h> + +static u64 exynos_drm_dma_mask = DMA_BIT_MASK(32); + +struct platform_device exynos_device_drm = { + .name = "exynos-drm", + .dev = { + .dma_mask = &exynos_drm_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + } +}; |