dc2c83582e
Include linux/types.h to fix below build error: CC drivers/power/max8903_charger.o In file included from arch/arm/plat-samsung/include/plat/gpio-fns.h:27, from arch/arm/mach-s3c2410/include/mach/gpio-fns.h:1, from arch/arm/mach-s3c2410/include/mach/gpio.h:27, from /home/axel/repos/git/linux-2.6/arch/arm/include/asm/gpio.h:5, from include/linux/gpio.h:30, from drivers/power/max8903_charger.c:23: arch/arm/plat-samsung/include/plat/gpio-cfg.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'samsung_gpio_pull_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's5p_gpio_drvstr_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h:55: error: expected specifier-qualifier-list before 'samsung_gpio_pull_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h:146: error: expected declaration specifiers or '...' before 'samsung_gpio_pull_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's3c_gpio_getpull' arch/arm/plat-samsung/include/plat/gpio-cfg.h:173: error: expected declaration specifiers or '...' before 'samsung_gpio_pull_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h: In function 's3c_gpio_cfgrange_nopull': arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: '__force' undeclared (first use in this function) arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: (Each undeclared identifier is reported only once arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: for each function it appears in.) arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: expected ')' before 'samsung_gpio_pull_t' arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: expected ')' before numeric constant arch/arm/plat-samsung/include/plat/gpio-cfg.h:178: error: too many arguments to function 's3c_gpio_cfgall_range' arch/arm/plat-samsung/include/plat/gpio-cfg.h: At top level: arch/arm/plat-samsung/include/plat/gpio-cfg.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 's5p_gpio_get_drvstr' arch/arm/plat-samsung/include/plat/gpio-cfg.h:208: error: expected declaration specifiers or '...' before 's5p_gpio_drvstr_t' make[2]: *** [drivers/power/max8903_charger.o] Error 1 make[1]: *** [drivers/power] Error 2 make: *** [drivers] Error 2 Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: stable@kernel.org Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> |
||
---|---|---|
.. | ||
adc-core.h | ||
adc.h | ||
ata-core.h | ||
ata.h | ||
audio-simtec.h | ||
audio.h | ||
backlight.h | ||
camport.h | ||
clock-clksrc.h | ||
clock.h | ||
common-smdk.h | ||
cpu-freq-core.h | ||
cpu-freq.h | ||
cpu.h | ||
debug-macro.S | ||
devs.h | ||
dma-core.h | ||
dma-ops.h | ||
dma-pl330.h | ||
dma-s3c24xx.h | ||
dma.h | ||
ehci.h | ||
exynos4.h | ||
fb-core.h | ||
fb-s3c2410.h | ||
fb.h | ||
fimc-core.h | ||
fiq.h | ||
gpio-cfg-helpers.h | ||
gpio-cfg.h | ||
gpio-core.h | ||
gpio-fns.h | ||
hwmon.h | ||
iic-core.h | ||
iic.h | ||
irq-uart.h | ||
irq-vic-timer.h | ||
irq.h | ||
irqs.h | ||
keypad-core.h | ||
keypad.h | ||
map-base.h | ||
map-s3c.h | ||
map-s5p.h | ||
mci.h | ||
mfc.h | ||
mipi_csis.h | ||
nand-core.h | ||
nand.h | ||
onenand-core.h | ||
pd.h | ||
pll.h | ||
pm.h | ||
pwm-clock.h | ||
regs-ac97.h | ||
regs-adc.h | ||
regs-ata.h | ||
regs-dma.h | ||
regs-fb-v4.h | ||
regs-fb.h | ||
regs-iic.h | ||
regs-iis.h | ||
regs-irqtype.h | ||
regs-nand.h | ||
regs-onenand.h | ||
regs-rtc.h | ||
regs-sdhci.h | ||
regs-serial.h | ||
regs-spi.h | ||
regs-srom.h | ||
regs-timer.h | ||
regs-udc.h | ||
regs-usb-hsotg-phy.h | ||
regs-usb-hsotg.h | ||
regs-watchdog.h | ||
reset.h | ||
s3c64xx-spi.h | ||
s3c244x.h | ||
s3c2410.h | ||
s3c2412.h | ||
s3c2416.h | ||
s3c2443.h | ||
s3c6400.h | ||
s3c6410.h | ||
s5p6440.h | ||
s5p6450.h | ||
s5p-clock.h | ||
s5p-time.h | ||
s5pc100.h | ||
s5pv210.h | ||
sdhci.h | ||
sysmmu.h | ||
system-reset.h | ||
ts.h | ||
tv-core.h | ||
udc-hs.h | ||
udc.h | ||
uncompress.h | ||
usb-control.h | ||
usb-phy.h | ||
wakeup-mask.h | ||
watchdog-reset.h |