linux/arch/arm/mach-s3c24xx/include/mach
Arnd Bergmann 15925cfcf8 ARM: s3c24xx: Avoid warning for inb/outb
s3c24xx implements its own inb/outb macros, but the implementation
prints warnings when the port number argument is not a 32-bit scalar:

drivers/scsi/pas16.c: In function 'NCR5380_pwrite':
arch/arm/mach-s3c24xx/include/mach/io.h:193:68: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 #define __ioaddrc(port) ((__PORT_PCIO(port) ? PCIO_BASE + (port) : (void __iomem *)(port)))

This slightly modifies the definition of the __ioaddrc macro to avoid
the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-02-26 08:44:52 +09:00
..
dma.h ARM: SAMSUNG: remove unused DMA infrastructure 2015-01-24 13:09:54 +09:00
fb.h
gpio-samsung.h ARM: s3c24xx: explicit dependency on <plat/gpio-cfg.h> 2014-01-14 15:24:54 +01:00
hardware.h ARM: S3C24XX: Remove invalid code from hardware.h 2014-03-21 04:48:07 +09:00
io.h ARM: s3c24xx: Avoid warning for inb/outb 2016-02-26 08:44:52 +09:00
irqs.h ARM: arm-soc driver changes for 3.10 2013-05-04 12:31:18 -07:00
map.h ARM: SAMSUNG: Remove unused register offset definition 2016-02-25 13:24:27 +09:00
pm-core.h ARM: s3c: simplify s3c_irqwake_{e,}intallow definition 2015-12-31 17:26:18 +01:00
regs-clock.h ARM: S3C24XX: remove legacy clock code 2014-05-13 08:00:45 +09:00
regs-gpio.h ARM: S3C24XX: remove legacy clock code 2014-05-13 08:00:45 +09:00
regs-irq.h
regs-lcd.h
regs-s3c2443-clock.h ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
rtc-core.h ARM: S3C24XX: Move rtc-core.h from plat to mach 2014-02-15 09:24:29 +09:00
s3c2412.h cpufreq: s3c24xx: move cpufreq driver to drivers/cpufreq 2013-05-20 23:04:28 +09:00