linux/arch/arm/mach-s3c64xx
Arnd Bergmann b71976128c ARM: s3c64xx: fix pm-debug compilation
I got one randconfig build that failed to compile plat-samsung/pm-debug.c
on s3c64xx:

In file included from arch/arm/plat-samsung/pm-debug.c:27:0:
arch/arm/mach-s3c64xx/include/mach/pm-core.h: In function 's3c_pm_debug_init_uart':
arch/arm/mach-s3c64xx/include/mach/pm-core.h:25:25: error: 'S3C_VA_SYS' undeclared (first use in this function)
  u32 tmp = __raw_readl(S3C_PCLK_GATE);
arch/arm/mach-s3c64xx/include/mach/pm-core.h:25:25: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-s3c64xx/include/mach/pm-core.h:39:2: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration]
  udelay(10);

I have not investigated why this does not show up much more often, I
guess the headers are usually included from elsewhere, but adding
explicit #include statements is an obvious fix.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2015-12-31 17:25:45 +01:00
..
include/mach ARM: s3c64xx: fix pm-debug compilation 2015-12-31 17:25:45 +01:00
ata-core.h ARM: SAMSUNG: local ata-core header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
backlight.h ARM: SAMSUNG: local backlight header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
common.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
common.h ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
cpuidle.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
crag6410.h ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore 2015-03-27 01:58:08 +09:00
dev-audio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
dev-backlight.c ARM: S3C64XX: Use PWM lookup table for smdk6410 2015-10-13 05:04:22 +09:00
dev-uart.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
irq-pm.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
irq-uart.h ARM: SAMSUNG: local irq-uart header in mach-s3c64xx 2015-07-30 02:00:38 +09:00
Kconfig ARM: s3c64xx: allow building without board support 2015-12-01 21:50:26 +01:00
mach-anw6410.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-crag6410-module.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-crag6410.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-hmt.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-mini6410.c ARM: s3c64xx: use new adc/touchscreen driver 2015-12-01 21:50:25 +01:00
mach-ncp.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-real6410.c ARM: s3c64xx: use new adc/touchscreen driver 2015-12-01 21:50:25 +01:00
mach-s3c64xx-dt.c Samsung cleanup for v4.3 2015-08-11 14:59:02 +02:00
mach-smartq5.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-smartq7.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-smartq.c ARM: s3c64xx: use new adc/touchscreen driver 2015-12-01 21:50:25 +01:00
mach-smartq.h ARM: S3C6410: Add basic support for SmartQ machines 2010-05-20 19:42:15 +09:00
mach-smdk6400.c ARM: s3c64xx: enable sparse IRQ support 2015-12-01 21:50:24 +01:00
mach-smdk6410.c ARM: s3c64xx: use new adc/touchscreen driver 2015-12-01 21:50:25 +01:00
Makefile ARM: s3c64xx: allow building without board support 2015-12-01 21:50:26 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
onenand-core.h ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
pl080.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
pm.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
regs-gpio-memport.h ARM: S3C64XX: make regs-gpio-memport.h local 2013-01-10 10:45:39 -08:00
regs-modem.h ARM: S3C64XX: make regs-modem.h local 2013-01-10 10:45:39 -08:00
regs-srom.h ARM: S3C64XX: make regs-srom.h local 2013-01-10 10:45:39 -08:00
regs-sys.h ARM: S3C64XX: make regs-sys.h local 2013-01-10 10:45:40 -08:00
regs-syscon-power.h ARM: S3C64XX: make regs-syscon-power.h local 2013-01-10 10:45:40 -08:00
regs-usb-hsotg-phy.h ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
s3c6400.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
s3c6410.c ARM: s3c64xx: prepare initcalls for multiplatform 2015-12-01 21:50:24 +01:00
setup-fb-24bpp.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c0.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c1.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-ide.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-keypad.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-sdhci-gpio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-spi.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-usb-phy.c ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
sleep.S ARM: pm: samsung: move cpu_suspend into C code 2011-06-24 08:48:44 +01:00
watchdog-reset.h ARM: SAMSUNG: local watchdog-reset header in mach-s3c64xx 2015-07-30 02:00:52 +09:00