diff options
Diffstat (limited to 'arch/arm/plat-samsung/dev-fb.c')
| -rw-r--r-- | arch/arm/plat-samsung/dev-fb.c | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/arch/arm/plat-samsung/dev-fb.c b/arch/arm/plat-samsung/dev-fb.c deleted file mode 100644 index 49a1362fd25b..000000000000 --- a/arch/arm/plat-samsung/dev-fb.c +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | /* linux/arch/arm/plat-s3c/dev-fb.c | ||
| 2 | * | ||
| 3 | * Copyright 2008 Simtec Electronics | ||
| 4 | * Ben Dooks <ben@simtec.co.uk> | ||
| 5 | * http://armlinux.simtec.co.uk/ | ||
| 6 | * | ||
| 7 | * S3C series device definition for framebuffer 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 version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #include <linux/kernel.h> | ||
| 15 | #include <linux/string.h> | ||
| 16 | #include <linux/platform_device.h> | ||
| 17 | #include <linux/fb.h> | ||
| 18 | #include <linux/gfp.h> | ||
| 19 | |||
| 20 | #include <mach/irqs.h> | ||
| 21 | #include <mach/map.h> | ||
| 22 | |||
| 23 | #include <plat/fb.h> | ||
| 24 | #include <plat/devs.h> | ||
| 25 | #include <plat/cpu.h> | ||
| 26 | |||
| 27 | static struct resource s3c_fb_resource[] = { | ||
| 28 | [0] = { | ||
| 29 | .start = S3C_PA_FB, | ||
| 30 | .end = S3C_PA_FB + SZ_16K - 1, | ||
| 31 | .flags = IORESOURCE_MEM, | ||
| 32 | }, | ||
| 33 | [1] = { | ||
| 34 | .start = IRQ_LCD_VSYNC, | ||
| 35 | .end = IRQ_LCD_VSYNC, | ||
| 36 | .flags = IORESOURCE_IRQ, | ||
| 37 | }, | ||
| 38 | [2] = { | ||
| 39 | .start = IRQ_LCD_FIFO, | ||
| 40 | .end = IRQ_LCD_FIFO, | ||
| 41 | .flags = IORESOURCE_IRQ, | ||
| 42 | }, | ||
| 43 | [3] = { | ||
| 44 | .start = IRQ_LCD_SYSTEM, | ||
| 45 | .end = IRQ_LCD_SYSTEM, | ||
| 46 | .flags = IORESOURCE_IRQ, | ||
| 47 | }, | ||
| 48 | }; | ||
| 49 | |||
| 50 | struct platform_device s3c_device_fb = { | ||
| 51 | .name = "s3c-fb", | ||
| 52 | .id = -1, | ||
| 53 | .num_resources = ARRAY_SIZE(s3c_fb_resource), | ||
| 54 | .resource = s3c_fb_resource, | ||
| 55 | .dev.dma_mask = &s3c_device_fb.dev.coherent_dma_mask, | ||
| 56 | .dev.coherent_dma_mask = 0xffffffffUL, | ||
| 57 | }; | ||
| 58 | |||
| 59 | void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd) | ||
| 60 | { | ||
| 61 | s3c_set_platdata(pd, sizeof(struct s3c_fb_platdata), | ||
| 62 | &s3c_device_fb); | ||
| 63 | } | ||
