linux/arch/arm/mach-ks8695
Arnd Bergmann 113f7ae5a9 ARM: ks8695: __arch_virt_to_dma type handling
__arch_virt_to_dma expects a virtual address pointer, but
the ks8695 implementation of this macro treats it as an
integer. Adding a type cast avoids hundreds of identical
warning messages.

Without this patch, building acs5k_defconfig results in:

arch/arm/include/asm/dma-mapping.h: In function 'virt_to_dma':
arch/arm/include/asm/dma-mapping.h:60:2: warning: passing argument 1 of '__virt_to_phys' makes integer from pointer without a cast [enabled by default]
arch/arm/include/asm/memory.h:172:60: note: expected 'long unsigned int' but argument is of type 'void *'
In file included from include/linux/dma-mapping.h:73:0,
                 from include/linux/skbuff.h:33,
                 from security/commoncap.c:21:

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Daniel Silverstone <dsilvers@simtec.co.uk>
Cc: Ben Dooks <ben-linux@fluff.org>
2012-10-07 10:33:09 +02:00
..
include/mach ARM: ks8695: __arch_virt_to_dma type handling 2012-10-07 10:33:09 +02:00
board-acs5k.c ARM: restart: ks8695: use new restart hook 2012-01-05 12:57:15 +00:00
board-dsm320.c ARM: restart: ks8695: use new restart hook 2012-01-05 12:57:15 +00:00
board-micrel.c ARM: restart: ks8695: use new restart hook 2012-01-05 12:57:15 +00:00
cpu.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
devices.c ARM: 7037/1: mach-ks8695: fix GPIO LEDs 2011-08-22 09:12:55 +01:00
generic.h ARM: restart: ks8695: use new restart hook 2012-01-05 12:57:15 +00:00
irq.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
Kconfig ARM: 6520/1: Kconfig: add new symbol MIGHT_HAVE_PCI 2010-12-05 08:39:30 +00:00
leds.c ARM, KS8695: Only include linux/gpio.h once in arch/arm/mach-ks8695/leds.c 2012-02-10 09:52:18 +01:00
Makefile ARM: 7035/1: mach-ks8695: move GPIO driver to GPIO subsystem 2011-08-22 09:12:54 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pci.c ARM: PCI: provide a default bus scan implementation 2012-05-13 17:12:17 +01:00
time.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00