linux/arch/arm/include/asm/hardware
Olof Johansson e7c86c7b26 ARM: 7156/1: l2x0: fix compile error on !CONFIG_USE_OF
fae2b89ab1 (ARM: l2x0: add empty l2x0_of_init) adds a static inline
function that returns -ENODEV, but at least on tegra cache-l2x0.h is
included without errno.h being pulled in first, resulting in compile
errors if OF isn't enabled:

In file included from arch/arm/mach-tegra/common.c:26:
arch/arm/include/asm/hardware/cache-l2x0.h: In function 'l2x0_of_init':
arch/arm/include/asm/hardware/cache-l2x0.h:110: error: 'ENODEV' undeclared (first use in this function)
arch/arm/include/asm/hardware/cache-l2x0.h:110: error: (Each undeclared identifier is reported only once
arch/arm/include/asm/hardware/cache-l2x0.h:110: error: for each function it appears in.)

Add errno.h to the include file to make it self-contained.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-11-12 11:32:34 +00:00
..
arm_timer.h
cache-l2x0.h ARM: 7156/1: l2x0: fix compile error on !CONFIG_USE_OF 2011-11-12 11:32:34 +00:00
cache-tauros2.h
clps7111.h
coresight.h
cs89712.h
debug-8250.S
debug-pl01x.S
dec21285.h
entry-macro-gic.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
entry-macro-iomd.S
ep7211.h
ep7212.h
gic.h ARM: gic: fix irq_alloc_descs handling for sparse irq 2011-10-31 14:03:27 +01:00
icst.h
ioc.h
iomd.h
iop3xx-adma.h
iop3xx-gpio.h ARM: gpio: make trivial GPIOLIB implementation the default 2011-08-12 08:54:19 +01:00
iop3xx.h
iop_adma.h
it8152.h ARM: pxa: use correct __iomem annotations 2011-10-08 21:03:07 +08:00
linkup-l1110.h
locomo.h
memc.h
pci_v3.h
pl080.h ARM: asm/pl080.h: Protect against multiple inclusion of header file 2011-08-25 19:33:37 +05:30
pl330.h
sa1111.h
scoop.h
sp810.h
ssp.h
timer-sp.h
uengine.h
vic.h