diff options
| author | Olof Johansson <olof@lixom.net> | 2012-10-07 10:22:32 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-10-07 10:22:32 -0400 |
| commit | 0b33162ec5ce4316effd95374768b59dc6f63326 (patch) | |
| tree | 67ba1e5bcb9e3ef3cdd7f48f406983387c5421af /arch/arm | |
| parent | a4ee7770c4a0eefda655bf1e19ba0eb48da828a6 (diff) | |
| parent | 45ef6ac6f5d4d4ea441a042fee3790b3f33cba73 (diff) | |
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')
| -rw-r--r-- | arch/arm/mach-at91/pm.c | 5 | ||||
| -rw-r--r-- | arch/arm/mach-at91/setup.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-davinci/da850.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-footbridge/include/mach/irqs.h | 2 | ||||
| -rw-r--r-- | arch/arm/mach-iop13xx/iq81340sc.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-iop13xx/pci.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-ks8695/include/mach/memory.h | 3 | ||||
| -rw-r--r-- | arch/arm/mach-mv78xx0/addr-map.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-mv78xx0/common.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/cm-x2xx.c | 1 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/palmte2.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 48 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/viper.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-rpc/ecard.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2416.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2443.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-s3c24xx/simtec-usb.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-shark/pci.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-tegra/Kconfig | 4 | ||||
| -rw-r--r-- | arch/arm/mach-ux500/Kconfig | 4 |
20 files changed, 29 insertions, 73 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 2c2d86505a54..5315f05896e9 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
| @@ -153,7 +153,9 @@ static int at91_pm_verify_clocks(void) | |||
| 153 | } | 153 | } |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS | 156 | if (!IS_ENABLED(CONFIG_AT91_PROGRAMMABLE_CLOCKS)) |
| 157 | return 1; | ||
| 158 | |||
| 157 | /* PCK0..PCK3 must be disabled, or configured to use clk32k */ | 159 | /* PCK0..PCK3 must be disabled, or configured to use clk32k */ |
| 158 | for (i = 0; i < 4; i++) { | 160 | for (i = 0; i < 4; i++) { |
| 159 | u32 css; | 161 | u32 css; |
| @@ -167,7 +169,6 @@ static int at91_pm_verify_clocks(void) | |||
| 167 | return 0; | 169 | return 0; |
| 168 | } | 170 | } |
| 169 | } | 171 | } |
| 170 | #endif | ||
| 171 | 172 | ||
| 172 | return 1; | 173 | return 1; |
| 173 | } | 174 | } |
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index e6f52de1062f..da9881b161e1 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
| @@ -87,7 +87,7 @@ void __init at91_init_sram(int bank, unsigned long base, unsigned int length) | |||
| 87 | iotable_init(desc, 1); | 87 | iotable_init(desc, 1); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | static struct map_desc at91_io_desc __initdata = { | 90 | static struct map_desc at91_io_desc __initdata __maybe_unused = { |
| 91 | .virtual = (unsigned long)AT91_VA_BASE_SYS, | 91 | .virtual = (unsigned long)AT91_VA_BASE_SYS, |
| 92 | .pfn = __phys_to_pfn(AT91_BASE_SYS), | 92 | .pfn = __phys_to_pfn(AT91_BASE_SYS), |
| 93 | .length = SZ_16K, | 93 | .length = SZ_16K, |
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 6676dee7104e..e517e1036b09 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
| @@ -939,7 +939,7 @@ static struct platform_device da850_cpufreq_device = { | |||
| 939 | 939 | ||
| 940 | unsigned int da850_max_speed = 300000; | 940 | unsigned int da850_max_speed = 300000; |
| 941 | 941 | ||
| 942 | int __init da850_register_cpufreq(char *async_clk) | 942 | int da850_register_cpufreq(char *async_clk) |
| 943 | { | 943 | { |
| 944 | int i; | 944 | int i; |
| 945 | 945 | ||
diff --git a/arch/arm/mach-footbridge/include/mach/irqs.h b/arch/arm/mach-footbridge/include/mach/irqs.h index 400551e43e4e..61c714c4920e 100644 --- a/arch/arm/mach-footbridge/include/mach/irqs.h +++ b/arch/arm/mach-footbridge/include/mach/irqs.h | |||
| @@ -89,8 +89,6 @@ | |||
| 89 | #define IRQ_NETWINDER_VGA _ISA_IRQ(11) | 89 | #define IRQ_NETWINDER_VGA _ISA_IRQ(11) |
| 90 | #define IRQ_NETWINDER_SOUND _ISA_IRQ(12) | 90 | #define IRQ_NETWINDER_SOUND _ISA_IRQ(12) |
| 91 | 91 | ||
| 92 | #undef RTC_IRQ | ||
| 93 | #define RTC_IRQ IRQ_ISA_RTC_ALARM | ||
| 94 | #define I8042_KBD_IRQ IRQ_ISA_KEYBOARD | 92 | #define I8042_KBD_IRQ IRQ_ISA_KEYBOARD |
| 95 | #define I8042_AUX_IRQ (machine_is_netwinder() ? IRQ_NETWINDER_PS2MOUSE : IRQ_ISA_PS2MOUSE) | 93 | #define I8042_AUX_IRQ (machine_is_netwinder() ? IRQ_NETWINDER_PS2MOUSE : IRQ_ISA_PS2MOUSE) |
| 96 | #define IRQ_FLOPPYDISK IRQ_ISA_FLOPPY | 94 | #define IRQ_FLOPPYDISK IRQ_ISA_FLOPPY |
diff --git a/arch/arm/mach-iop13xx/iq81340sc.c b/arch/arm/mach-iop13xx/iq81340sc.c index 060cddde2fd4..e94744111634 100644 --- a/arch/arm/mach-iop13xx/iq81340sc.c +++ b/arch/arm/mach-iop13xx/iq81340sc.c | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | extern int init_atu; | 30 | extern int init_atu; |
| 31 | 31 | ||
| 32 | static int __init | 32 | static int __init |
| 33 | iq81340sc_atux_map_irq(struct pci_dev *dev, u8 idsel, u8 pin) | 33 | iq81340sc_atux_map_irq(const struct pci_dev *dev, u8 idsel, u8 pin) |
| 34 | { | 34 | { |
| 35 | WARN_ON(idsel < 1 || idsel > 2); | 35 | WARN_ON(idsel < 1 || idsel > 2); |
| 36 | 36 | ||
diff --git a/arch/arm/mach-iop13xx/pci.c b/arch/arm/mach-iop13xx/pci.c index 9082b84aeebb..2f28018c4447 100644 --- a/arch/arm/mach-iop13xx/pci.c +++ b/arch/arm/mach-iop13xx/pci.c | |||
| @@ -504,7 +504,7 @@ iop13xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
| 504 | 504 | ||
| 505 | /* Scan an IOP13XX PCI bus. nr selects which ATU we use. | 505 | /* Scan an IOP13XX PCI bus. nr selects which ATU we use. |
| 506 | */ | 506 | */ |
| 507 | struct pci_bus *iop13xx_scan_bus(int nr, struct pci_sys_data *sys) | 507 | struct pci_bus * __devinit iop13xx_scan_bus(int nr, struct pci_sys_data *sys) |
| 508 | { | 508 | { |
| 509 | int which_atu; | 509 | int which_atu; |
| 510 | struct pci_bus *bus = NULL; | 510 | struct pci_bus *bus = NULL; |
diff --git a/arch/arm/mach-ks8695/include/mach/memory.h b/arch/arm/mach-ks8695/include/mach/memory.h index f7e1b9bce345..95e731a7ed6a 100644 --- a/arch/arm/mach-ks8695/include/mach/memory.h +++ b/arch/arm/mach-ks8695/include/mach/memory.h | |||
| @@ -34,7 +34,8 @@ extern struct bus_type platform_bus_type; | |||
| 34 | #define __arch_dma_to_virt(dev, x) ({ (void *) (is_lbus_device(dev) ? \ | 34 | #define __arch_dma_to_virt(dev, x) ({ (void *) (is_lbus_device(dev) ? \ |
| 35 | __phys_to_virt(x) : __bus_to_virt(x)); }) | 35 | __phys_to_virt(x) : __bus_to_virt(x)); }) |
| 36 | #define __arch_virt_to_dma(dev, x) ({ is_lbus_device(dev) ? \ | 36 | #define __arch_virt_to_dma(dev, x) ({ is_lbus_device(dev) ? \ |
| 37 | (dma_addr_t)__virt_to_phys(x) : (dma_addr_t)__virt_to_bus(x); }) | 37 | (dma_addr_t)__virt_to_phys((unsigned long)x) \ |
| 38 | : (dma_addr_t)__virt_to_bus(x); }) | ||
| 38 | #define __arch_pfn_to_dma(dev, pfn) \ | 39 | #define __arch_pfn_to_dma(dev, pfn) \ |
| 39 | ({ dma_addr_t __dma = __pfn_to_phys(pfn); \ | 40 | ({ dma_addr_t __dma = __pfn_to_phys(pfn); \ |
| 40 | if (!is_lbus_device(dev)) \ | 41 | if (!is_lbus_device(dev)) \ |
diff --git a/arch/arm/mach-mv78xx0/addr-map.c b/arch/arm/mach-mv78xx0/addr-map.c index 343c435b4176..26e9876b50e9 100644 --- a/arch/arm/mach-mv78xx0/addr-map.c +++ b/arch/arm/mach-mv78xx0/addr-map.c | |||
| @@ -54,7 +54,7 @@ static void __init __iomem *win_cfg_base(const struct orion_addr_map_cfg *cfg, i | |||
| 54 | /* | 54 | /* |
| 55 | * Description of the windows needed by the platform code | 55 | * Description of the windows needed by the platform code |
| 56 | */ | 56 | */ |
| 57 | static struct __initdata orion_addr_map_cfg addr_map_cfg = { | 57 | static struct orion_addr_map_cfg addr_map_cfg __initdata = { |
| 58 | .num_wins = 14, | 58 | .num_wins = 14, |
| 59 | .remappable_wins = 8, | 59 | .remappable_wins = 8, |
| 60 | .win_cfg_base = win_cfg_base, | 60 | .win_cfg_base = win_cfg_base, |
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 131cd4883f3d..d0cb4857b4b3 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/arch/arm/mach-mv78xx0/common.c | |||
| @@ -336,7 +336,7 @@ void __init mv78xx0_init_early(void) | |||
| 336 | orion_time_set_base(TIMER_VIRT_BASE); | 336 | orion_time_set_base(TIMER_VIRT_BASE); |
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | static void mv78xx0_timer_init(void) | 339 | static void __init_refok mv78xx0_timer_init(void) |
| 340 | { | 340 | { |
| 341 | orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR, | 341 | orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR, |
| 342 | IRQ_MV78XX0_TIMER_1, get_tclk()); | 342 | IRQ_MV78XX0_TIMER_1, get_tclk()); |
diff --git a/arch/arm/mach-pxa/cm-x2xx.c b/arch/arm/mach-pxa/cm-x2xx.c index fc3afc7cd366..a103c8ffea9f 100644 --- a/arch/arm/mach-pxa/cm-x2xx.c +++ b/arch/arm/mach-pxa/cm-x2xx.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <asm/mach/map.h> | 22 | #include <asm/mach/map.h> |
| 23 | 23 | ||
| 24 | #include <mach/pxa25x.h> | 24 | #include <mach/pxa25x.h> |
| 25 | #undef GPIO24_SSP1_SFRM | ||
| 25 | #include <mach/pxa27x.h> | 26 | #include <mach/pxa27x.h> |
| 26 | #include <mach/audio.h> | 27 | #include <mach/audio.h> |
| 27 | #include <linux/platform_data/video-pxafb.h> | 28 | #include <linux/platform_data/video-pxafb.h> |
diff --git a/arch/arm/mach-pxa/palmte2.c b/arch/arm/mach-pxa/palmte2.c index 997e6da9a9c4..32e0d7998355 100644 --- a/arch/arm/mach-pxa/palmte2.c +++ b/arch/arm/mach-pxa/palmte2.c | |||
| @@ -105,6 +105,7 @@ static struct pxamci_platform_data palmte2_mci_platform_data = { | |||
| 105 | .gpio_power = GPIO_NR_PALMTE2_SD_POWER, | 105 | .gpio_power = GPIO_NR_PALMTE2_SD_POWER, |
| 106 | }; | 106 | }; |
| 107 | 107 | ||
| 108 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
| 108 | /****************************************************************************** | 109 | /****************************************************************************** |
| 109 | * GPIO keys | 110 | * GPIO keys |
| 110 | ******************************************************************************/ | 111 | ******************************************************************************/ |
| @@ -132,6 +133,7 @@ static struct platform_device palmte2_pxa_keys = { | |||
| 132 | .platform_data = &palmte2_pxa_keys_data, | 133 | .platform_data = &palmte2_pxa_keys_data, |
| 133 | }, | 134 | }, |
| 134 | }; | 135 | }; |
| 136 | #endif | ||
| 135 | 137 | ||
| 136 | /****************************************************************************** | 138 | /****************************************************************************** |
| 137 | * Backlight | 139 | * Backlight |
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index 5a406f794798..ec55c575ed19 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c | |||
| @@ -55,7 +55,6 @@ | |||
| 55 | #ifdef CONFIG_PM | 55 | #ifdef CONFIG_PM |
| 56 | static int sharpsl_off_charge_battery(void); | 56 | static int sharpsl_off_charge_battery(void); |
| 57 | static int sharpsl_check_battery_voltage(void); | 57 | static int sharpsl_check_battery_voltage(void); |
| 58 | static int sharpsl_fatal_check(void); | ||
| 59 | #endif | 58 | #endif |
| 60 | static int sharpsl_check_battery_temp(void); | 59 | static int sharpsl_check_battery_temp(void); |
| 61 | static int sharpsl_ac_check(void); | 60 | static int sharpsl_ac_check(void); |
| @@ -686,53 +685,6 @@ static int corgi_pxa_pm_enter(suspend_state_t state) | |||
| 686 | return 0; | 685 | return 0; |
| 687 | } | 686 | } |
| 688 | 687 | ||
| 689 | /* | ||
| 690 | * Check for fatal battery errors | ||
| 691 | * Fatal returns -1 | ||
| 692 | */ | ||
| 693 | static int sharpsl_fatal_check(void) | ||
| 694 | { | ||
| 695 | int buff[5], temp, i, acin; | ||
| 696 | |||
| 697 | dev_dbg(sharpsl_pm.dev, "sharpsl_fatal_check entered\n"); | ||
| 698 | |||
| 699 | /* Check AC-Adapter */ | ||
| 700 | acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); | ||
| 701 | |||
| 702 | if (acin && (sharpsl_pm.charge_mode == CHRG_ON)) { | ||
| 703 | sharpsl_pm.machinfo->charge(0); | ||
| 704 | udelay(100); | ||
| 705 | sharpsl_pm.machinfo->discharge(1); /* enable discharge */ | ||
| 706 | mdelay(SHARPSL_WAIT_DISCHARGE_ON); | ||
| 707 | } | ||
| 708 | |||
| 709 | if (sharpsl_pm.machinfo->discharge1) | ||
| 710 | sharpsl_pm.machinfo->discharge1(1); | ||
| 711 | |||
| 712 | /* Check battery : check inserting battery ? */ | ||
| 713 | for (i = 0; i < 5; i++) { | ||
| 714 | buff[i] = sharpsl_pm.machinfo->read_devdata(SHARPSL_BATT_VOLT); | ||
| 715 | mdelay(SHARPSL_CHECK_BATTERY_WAIT_TIME_VOLT); | ||
| 716 | } | ||
| 717 | |||
| 718 | if (sharpsl_pm.machinfo->discharge1) | ||
| 719 | sharpsl_pm.machinfo->discharge1(0); | ||
| 720 | |||
| 721 | if (acin && (sharpsl_pm.charge_mode == CHRG_ON)) { | ||
| 722 | udelay(100); | ||
| 723 | sharpsl_pm.machinfo->charge(1); | ||
| 724 | sharpsl_pm.machinfo->discharge(0); | ||
| 725 | } | ||
| 726 | |||
| 727 | temp = get_select_val(buff); | ||
| 728 | dev_dbg(sharpsl_pm.dev, "sharpsl_fatal_check: acin: %d, discharge voltage: %d, no discharge: %ld\n", acin, temp, sharpsl_pm.machinfo->read_devdata(SHARPSL_BATT_VOLT)); | ||
| 729 | |||
| 730 | if ((acin && (temp < sharpsl_pm.machinfo->fatal_acin_volt)) || | ||
| 731 | (!acin && (temp < sharpsl_pm.machinfo->fatal_noacin_volt))) | ||
| 732 | return -1; | ||
| 733 | return 0; | ||
| 734 | } | ||
| 735 | |||
| 736 | static int sharpsl_off_charge_error(void) | 688 | static int sharpsl_off_charge_error(void) |
| 737 | { | 689 | { |
| 738 | dev_err(sharpsl_pm.dev, "Offline Charger: Error occurred.\n"); | 690 | dev_err(sharpsl_pm.dev, "Offline Charger: Error occurred.\n"); |
diff --git a/arch/arm/mach-pxa/viper.c b/arch/arm/mach-pxa/viper.c index 392412ce4dac..c773e4dded64 100644 --- a/arch/arm/mach-pxa/viper.c +++ b/arch/arm/mach-pxa/viper.c | |||
| @@ -768,8 +768,7 @@ static unsigned long viper_tpm; | |||
| 768 | 768 | ||
| 769 | static int __init viper_tpm_setup(char *str) | 769 | static int __init viper_tpm_setup(char *str) |
| 770 | { | 770 | { |
| 771 | strict_strtoul(str, 10, &viper_tpm); | 771 | return strict_strtoul(str, 10, &viper_tpm) >= 0; |
| 772 | return 1; | ||
| 773 | } | 772 | } |
| 774 | 773 | ||
| 775 | __setup("tpm=", viper_tpm_setup); | 774 | __setup("tpm=", viper_tpm_setup); |
diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c index b91bc87b3dcf..fcb1d59f7aec 100644 --- a/arch/arm/mach-rpc/ecard.c +++ b/arch/arm/mach-rpc/ecard.c | |||
| @@ -960,7 +960,9 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type) | |||
| 960 | *ecp = ec; | 960 | *ecp = ec; |
| 961 | slot_to_expcard[slot] = ec; | 961 | slot_to_expcard[slot] = ec; |
| 962 | 962 | ||
| 963 | device_register(&ec->dev); | 963 | rc = device_register(&ec->dev); |
| 964 | if (rc) | ||
| 965 | goto nodev; | ||
| 964 | 966 | ||
| 965 | return 0; | 967 | return 0; |
| 966 | 968 | ||
diff --git a/arch/arm/mach-s3c24xx/irq-s3c2416.c b/arch/arm/mach-s3c24xx/irq-s3c2416.c index 23ec97370f32..ff141b0af26b 100644 --- a/arch/arm/mach-s3c24xx/irq-s3c2416.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2416.c | |||
| @@ -232,7 +232,7 @@ struct irq_chip s3c2416_irq_second = { | |||
| 232 | 232 | ||
| 233 | /* IRQ initialisation code */ | 233 | /* IRQ initialisation code */ |
| 234 | 234 | ||
| 235 | static int __init s3c2416_add_sub(unsigned int base, | 235 | static int s3c2416_add_sub(unsigned int base, |
| 236 | void (*demux)(unsigned int, | 236 | void (*demux)(unsigned int, |
| 237 | struct irq_desc *), | 237 | struct irq_desc *), |
| 238 | struct irq_chip *chip, | 238 | struct irq_chip *chip, |
| @@ -251,7 +251,7 @@ static int __init s3c2416_add_sub(unsigned int base, | |||
| 251 | return 0; | 251 | return 0; |
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | static void __init s3c2416_irq_add_second(void) | 254 | static void s3c2416_irq_add_second(void) |
| 255 | { | 255 | { |
| 256 | unsigned long pend; | 256 | unsigned long pend; |
| 257 | unsigned long last; | 257 | unsigned long last; |
| @@ -287,7 +287,7 @@ static void __init s3c2416_irq_add_second(void) | |||
| 287 | } | 287 | } |
| 288 | } | 288 | } |
| 289 | 289 | ||
| 290 | static int __init s3c2416_irq_add(struct device *dev, | 290 | static int s3c2416_irq_add(struct device *dev, |
| 291 | struct subsys_interface *sif) | 291 | struct subsys_interface *sif) |
| 292 | { | 292 | { |
| 293 | printk(KERN_INFO "S3C2416: IRQ Support\n"); | 293 | printk(KERN_INFO "S3C2416: IRQ Support\n"); |
diff --git a/arch/arm/mach-s3c24xx/irq-s3c2443.c b/arch/arm/mach-s3c24xx/irq-s3c2443.c index ac2829f56d12..5e69109c0928 100644 --- a/arch/arm/mach-s3c24xx/irq-s3c2443.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2443.c | |||
| @@ -222,7 +222,7 @@ static struct irq_chip s3c2443_irq_cam = { | |||
| 222 | 222 | ||
| 223 | /* IRQ initialisation code */ | 223 | /* IRQ initialisation code */ |
| 224 | 224 | ||
| 225 | static int __init s3c2443_add_sub(unsigned int base, | 225 | static int s3c2443_add_sub(unsigned int base, |
| 226 | void (*demux)(unsigned int, | 226 | void (*demux)(unsigned int, |
| 227 | struct irq_desc *), | 227 | struct irq_desc *), |
| 228 | struct irq_chip *chip, | 228 | struct irq_chip *chip, |
| @@ -241,7 +241,7 @@ static int __init s3c2443_add_sub(unsigned int base, | |||
| 241 | return 0; | 241 | return 0; |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | static int __init s3c2443_irq_add(struct device *dev, | 244 | static int s3c2443_irq_add(struct device *dev, |
| 245 | struct subsys_interface *sif) | 245 | struct subsys_interface *sif) |
| 246 | { | 246 | { |
| 247 | printk("S3C2443: IRQ Support\n"); | 247 | printk("S3C2443: IRQ Support\n"); |
diff --git a/arch/arm/mach-s3c24xx/simtec-usb.c b/arch/arm/mach-s3c24xx/simtec-usb.c index 17f8356177c1..ddf7a3c743ac 100644 --- a/arch/arm/mach-s3c24xx/simtec-usb.c +++ b/arch/arm/mach-s3c24xx/simtec-usb.c | |||
| @@ -104,7 +104,7 @@ static struct s3c2410_hcd_info usb_simtec_info __initdata = { | |||
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | 106 | ||
| 107 | int usb_simtec_init(void) | 107 | int __init usb_simtec_init(void) |
| 108 | { | 108 | { |
| 109 | int ret; | 109 | int ret; |
| 110 | 110 | ||
diff --git a/arch/arm/mach-shark/pci.c b/arch/arm/mach-shark/pci.c index b8b4ab323a3e..6d91a914c1dd 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 = { | |||
| 41 | static int __init shark_pci_init(void) | 41 | static int __init shark_pci_init(void) |
| 42 | { | 42 | { |
| 43 | if (!machine_is_shark()) | 43 | if (!machine_is_shark()) |
| 44 | return; | 44 | return -ENODEV; |
| 45 | 45 | ||
| 46 | pcibios_min_io = 0x6000; | 46 | pcibios_min_io = 0x6000; |
| 47 | pcibios_min_mem = 0x50000000; | 47 | pcibios_min_mem = 0x50000000; |
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 1219d87dccdd..11680c532b38 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig | |||
| @@ -16,7 +16,7 @@ config ARCH_TEGRA_2x_SOC | |||
| 16 | select ARM_ERRATA_742230 | 16 | select ARM_ERRATA_742230 |
| 17 | select ARM_ERRATA_751472 | 17 | select ARM_ERRATA_751472 |
| 18 | select ARM_ERRATA_754327 | 18 | select ARM_ERRATA_754327 |
| 19 | select ARM_ERRATA_764369 | 19 | select ARM_ERRATA_764369 if SMP |
| 20 | select PL310_ERRATA_727915 if CACHE_L2X0 | 20 | select PL310_ERRATA_727915 if CACHE_L2X0 |
| 21 | select PL310_ERRATA_769419 if CACHE_L2X0 | 21 | select PL310_ERRATA_769419 if CACHE_L2X0 |
| 22 | select CPU_FREQ_TABLE if CPU_FREQ | 22 | select CPU_FREQ_TABLE if CPU_FREQ |
| @@ -37,7 +37,7 @@ config ARCH_TEGRA_3x_SOC | |||
| 37 | select ARM_ERRATA_743622 | 37 | select ARM_ERRATA_743622 |
| 38 | select ARM_ERRATA_751472 | 38 | select ARM_ERRATA_751472 |
| 39 | select ARM_ERRATA_754322 | 39 | select ARM_ERRATA_754322 |
| 40 | select ARM_ERRATA_764369 | 40 | select ARM_ERRATA_764369 if SMP |
| 41 | select PL310_ERRATA_769419 if CACHE_L2X0 | 41 | select PL310_ERRATA_769419 if CACHE_L2X0 |
| 42 | select CPU_FREQ_TABLE if CPU_FREQ | 42 | select CPU_FREQ_TABLE if CPU_FREQ |
| 43 | help | 43 | help |
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index c77c86c47369..5848206ee9b9 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig | |||
| @@ -5,9 +5,9 @@ config UX500_SOC_COMMON | |||
| 5 | default y | 5 | default y |
| 6 | select ARM_GIC | 6 | select ARM_GIC |
| 7 | select HAS_MTU | 7 | select HAS_MTU |
| 8 | select PL310_ERRATA_753970 | 8 | select PL310_ERRATA_753970 if CACHE_PL310 |
| 9 | select ARM_ERRATA_754322 | 9 | select ARM_ERRATA_754322 |
| 10 | select ARM_ERRATA_764369 | 10 | select ARM_ERRATA_764369 if SMP |
| 11 | select CACHE_L2X0 | 11 | select CACHE_L2X0 |
| 12 | select PINCTRL | 12 | select PINCTRL |
| 13 | select PINCTRL_NOMADIK | 13 | select PINCTRL_NOMADIK |
