diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:02:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:02:39 -0400 |
commit | 2c518959f082c549d6c6dd9b5380aec40c3eb07f (patch) | |
tree | 163deeedb0532e2c7df805cc052f117b32d33fe3 /arch/arm/plat-omap/fb.c | |
parent | 4f6876031ee105466f400661a0dd3fa66c4f0c09 (diff) | |
parent | 18016e35d448d35739f8640b51476709c07e95db (diff) |
Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux
* 'for-linus' of git://gitorious.org/linux-omap-dss2/linux:
OMAP: DSS2: don't power off a panel twice
OMAP: DSS2: OMAPFB: Allow usage of def_vrfb only for omap2,3
OMAP: DSS2: OMAPFB: make VRFB depends on OMAP2,3
OMAP: DSS2: OMAPFB: Allow FB_OMAP2 to build without VRFB
arm/omap: simplify conditional
OMAP: DSS2: DSI: Remove extra iounmap in error path
OMAP: DSS2: Use dss_features framework on DSS2 code
OMAP: DSS2: Introduce dss_features files
video/omap: remove mux.h include
ARM: omap/fb: move get_fbmem_region() to .init.text
ARM: omap/fb: move omapfb_reserve_sram to .init.text
ARM: omap/fb: move omap_init_fb to .init.text
OMAP: DSS2: OMAPFB: swap front and back porches for both hsync and vsync
OMAP: DSS2: make filter coefficient tables human readable
OMAP: DSS2: Add SPI dependency to Kconfig of ACX565AKM panel
Diffstat (limited to 'arch/arm/plat-omap/fb.c')
-rw-r--r-- | arch/arm/plat-omap/fb.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index bb78c1532fae..c9e5d7298c40 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c | |||
@@ -96,7 +96,7 @@ static int fbmem_region_reserved(unsigned long start, size_t size) | |||
96 | * Get the region_idx`th region from board config/ATAG and convert it to | 96 | * Get the region_idx`th region from board config/ATAG and convert it to |
97 | * our internal format. | 97 | * our internal format. |
98 | */ | 98 | */ |
99 | static int get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) | 99 | static int __init get_fbmem_region(int region_idx, struct omapfb_mem_region *rg) |
100 | { | 100 | { |
101 | const struct omap_fbmem_config *conf; | 101 | const struct omap_fbmem_config *conf; |
102 | u32 paddr; | 102 | u32 paddr; |
@@ -128,7 +128,7 @@ static int set_fbmem_region_type(struct omapfb_mem_region *rg, int mem_type, | |||
128 | * type = 0 && paddr = 0, a default don't care case maps to | 128 | * type = 0 && paddr = 0, a default don't care case maps to |
129 | * the SDRAM type. | 129 | * the SDRAM type. |
130 | */ | 130 | */ |
131 | if (rg->type || (!rg->type && !rg->paddr)) | 131 | if (rg->type || !rg->paddr) |
132 | return 0; | 132 | return 0; |
133 | if (ranges_overlap(rg->paddr, rg->size, mem_start, mem_size)) { | 133 | if (ranges_overlap(rg->paddr, rg->size, mem_start, mem_size)) { |
134 | rg->type = mem_type; | 134 | rg->type = mem_type; |
@@ -260,7 +260,7 @@ void __init omapfb_reserve_sdram_memblock(void) | |||
260 | * this point, since the driver built as a module would have problem with | 260 | * this point, since the driver built as a module would have problem with |
261 | * freeing / reallocating the regions. | 261 | * freeing / reallocating the regions. |
262 | */ | 262 | */ |
263 | unsigned long omapfb_reserve_sram(unsigned long sram_pstart, | 263 | unsigned long __init omapfb_reserve_sram(unsigned long sram_pstart, |
264 | unsigned long sram_vstart, | 264 | unsigned long sram_vstart, |
265 | unsigned long sram_size, | 265 | unsigned long sram_size, |
266 | unsigned long pstart_avail, | 266 | unsigned long pstart_avail, |
@@ -334,7 +334,7 @@ void omapfb_set_ctrl_platform_data(void *data) | |||
334 | omapfb_config.ctrl_platform_data = data; | 334 | omapfb_config.ctrl_platform_data = data; |
335 | } | 335 | } |
336 | 336 | ||
337 | static inline int omap_init_fb(void) | 337 | static int __init omap_init_fb(void) |
338 | { | 338 | { |
339 | const struct omap_lcd_config *conf; | 339 | const struct omap_lcd_config *conf; |
340 | 340 | ||
@@ -379,7 +379,7 @@ void omapfb_set_platform_data(struct omapfb_platform_data *data) | |||
379 | omapfb_config = *data; | 379 | omapfb_config = *data; |
380 | } | 380 | } |
381 | 381 | ||
382 | static inline int omap_init_fb(void) | 382 | static int __init omap_init_fb(void) |
383 | { | 383 | { |
384 | return platform_device_register(&omap_fb_device); | 384 | return platform_device_register(&omap_fb_device); |
385 | } | 385 | } |
@@ -390,7 +390,7 @@ void omapfb_reserve_sdram_memblock(void) | |||
390 | { | 390 | { |
391 | } | 391 | } |
392 | 392 | ||
393 | unsigned long omapfb_reserve_sram(unsigned long sram_pstart, | 393 | unsigned long __init omapfb_reserve_sram(unsigned long sram_pstart, |
394 | unsigned long sram_vstart, | 394 | unsigned long sram_vstart, |
395 | unsigned long sram_size, | 395 | unsigned long sram_size, |
396 | unsigned long start_avail, | 396 | unsigned long start_avail, |
@@ -409,7 +409,7 @@ void omapfb_reserve_sdram_memblock(void) | |||
409 | { | 409 | { |
410 | } | 410 | } |
411 | 411 | ||
412 | unsigned long omapfb_reserve_sram(unsigned long sram_pstart, | 412 | unsigned long __init omapfb_reserve_sram(unsigned long sram_pstart, |
413 | unsigned long sram_vstart, | 413 | unsigned long sram_vstart, |
414 | unsigned long sram_size, | 414 | unsigned long sram_size, |
415 | unsigned long start_avail, | 415 | unsigned long start_avail, |