diff options
author | Olof Johansson <olof@lixom.net> | 2012-10-07 07:22:32 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-10-07 07:22:32 -0700 |
commit | 0b33162ec5ce4316effd95374768b59dc6f63326 (patch) | |
tree | 67ba1e5bcb9e3ef3cdd7f48f406983387c5421af /arch/arm/mach-shark/pci.c | |
parent | a4ee7770c4a0eefda655bf1e19ba0eb48da828a6 (diff) | |
parent | 45ef6ac6f5d4d4ea441a042fee3790b3f33cba73 (diff) | |
download | linux-3.10-0b33162ec5ce4316effd95374768b59dc6f63326.tar.gz linux-3.10-0b33162ec5ce4316effd95374768b59dc6f63326.tar.bz2 linux-3.10-0b33162ec5ce4316effd95374768b59dc6f63326.zip |
Merge branch 'late/fixes' into fixes
This is a series from Arnd that fixes a number of compiler warnings
when building defconfigs on ARM.
* late/fixes:
ARM: footbridge: nw_gpio_lock is raw_spin_lock
ARM: mv78xx0: correct addr_map_cfg __initdata annotation
ARM: footbridge: remove RTC_IRQ definition
ARM: soc: dependency warnings for errata
ARM: ks8695: __arch_virt_to_dma type handling
ARM: rpc: check device_register return code in ecard_probe
ARM: davinci: don't mark da850_register_cpufreq as __init
ARM: iop13xx: fix iq81340sc_atux_map_irq prototype
ARM: iop13xx: mark iop13xx_scan_bus as __devinit
ARM: mv78xx0: mark mv78xx0_timer_init as __init_refok
ARM: s3c24xx: fix multiple section mismatch warnings
ARM: at91: unused variable in at91_pm_verify_clocks
ARM: at91: skip at91_io_desc definition for NOMMU
ARM: pxa: work around duplicate definition of GPIO24_SSP1_SFRM
ARM: pxa: remove sharpsl_fatal_check function
ARM: pxa: define palmte2_pxa_keys conditionally
ARM: pxa: Wunused-result warning in viper board file
ARM: shark: fix shark_pci_init return code
Fixed trivial conflicts in arch/arm/mach-at91/setup.c.
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-shark/pci.c')
-rw-r--r-- | arch/arm/mach-shark/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shark/pci.c b/arch/arm/mach-shark/pci.c index b8b4ab323a3..6d91a914c1d 100644 --- a/arch/arm/mach-shark/pci.c +++ b/arch/arm/mach-shark/pci.c @@ -41,7 +41,7 @@ static struct hw_pci shark_pci __initdata = { static int __init shark_pci_init(void) { if (!machine_is_shark()) - return; + return -ENODEV; pcibios_min_io = 0x6000; pcibios_min_mem = 0x50000000; |