linux/arch/arm/mach-shark
Arnd Bergmann 9c7f4f5ce6 ARM: shark: fix shark_pci_init return code
When run on the wrong platform, the shark_pci_init function
returns an undefined value, as reported by a gcc warning,
so let's just return -ENODEV.

Without this patch, building shark_defconfig results in:

arch/arm/mach-shark/pci.c: In function 'shark_pci_init':
arch/arm/mach-shark/pci.c:42:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: "Krzysztof Halasa" <khc@pm.waw.pl>
2012-10-04 10:19:51 +02:00
..
include/mach ARM: kill off __mem_pci 2012-03-06 21:34:45 -06:00
core.c ARM: fix builds due to missing <asm/system_misc.h> includes 2012-03-30 15:44:40 -07:00
dma.c [ARM] dma: rejig DMA initialization 2008-12-11 14:32:43 +00:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
leds.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
Makefile
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pci.c ARM: shark: fix shark_pci_init return code 2012-10-04 10:19:51 +02:00