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
..
2012-03-06 21:34:45 -06:00
2008-12-11 14:32:43 +00:00
2011-03-29 14:47:58 +02:00
2012-03-28 18:30:01 +01:00
2005-04-16 15:20:36 -07:00