diff options
author | arun c | 2009-09-23 01:46:59 +0200 |
---|---|---|
committer | Linus Torvalds | 2009-09-23 16:39:50 +0200 |
commit | 5910d35cd6c0122a490000a6de0774ac7ebcc2de (patch) | |
tree | 7c9a99ca946b94323fd864a79a48ff4d51d90ef6 /arch/arm/plat-omap/include/mach | |
parent | omapfb: suspend/resume only if FB device is already initialized (diff) | |
download | kernel-qcow2-linux-5910d35cd6c0122a490000a6de0774ac7ebcc2de.tar.gz kernel-qcow2-linux-5910d35cd6c0122a490000a6de0774ac7ebcc2de.tar.xz kernel-qcow2-linux-5910d35cd6c0122a490000a6de0774ac7ebcc2de.zip |
omapfb: fix coding style / remove dead line
- use __iomem type attribute where appropriate
- expand (a ? : b) to (a ? a : b)
As suggested by Russel King <linux@arm.linux.org.uk>
- remove a dead line from omapfb_main.c
Signed-off-by: Arun C <arunedarath@mistralsolutions.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-omap/include/mach')
-rw-r--r-- | arch/arm/plat-omap/include/mach/omapfb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/mach/omapfb.h b/arch/arm/plat-omap/include/mach/omapfb.h index 7b74d1255e0b..b226bdf45739 100644 --- a/arch/arm/plat-omap/include/mach/omapfb.h +++ b/arch/arm/plat-omap/include/mach/omapfb.h @@ -276,8 +276,8 @@ typedef int (*omapfb_notifier_callback_t)(struct notifier_block *, void *fbi); struct omapfb_mem_region { - dma_addr_t paddr; - void *vaddr; + u32 paddr; + void __iomem *vaddr; unsigned long size; u8 type; /* OMAPFB_PLANE_MEM_* */ unsigned alloc:1; /* allocated by the driver */ |