diff options
Diffstat (limited to 'arch/arm')
-rwxr-xr-x | arch/arm/mach-ux500/clock.c | 6 | ||||
-rwxr-xr-x | arch/arm/mach-ux500/clock.h | 4 | ||||
-rwxr-xr-x | arch/arm/mach-ux500/dma_40.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ux500/platsmp.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c index 5ab9027368b..24561b35ee7 100755 --- a/arch/arm/mach-ux500/clock.c +++ b/arch/arm/mach-ux500/clock.c @@ -595,7 +595,7 @@ static void clk_register(struct clk *clk); static void clks_register(struct clk_lookup *clks, size_t num) { - int i; + unsigned int i; for (i = 0; i < num; i++) { clkdev_add(&clks[i]); @@ -637,7 +637,7 @@ struct clk *boot_clks[ARRAY_SIZE(u8500_boot_clk)]; */ static int __init u8500_boot_clk_disable(void) { - int i = 0; + unsigned int i = 0; for (i = 0; i < ARRAY_SIZE(u8500_boot_clk); i++) { if (!boot_clks[i]) @@ -653,7 +653,7 @@ late_initcall_sync(u8500_boot_clk_disable); static void u8500_amba_clk_enable(void) { - int i = 0; + unsigned int i = 0; writel(~0x0 & ~(1 << 9), IO_ADDRESS(U8500_PER1_BASE + 0xF000 + 0x04)); writel(~0x0, IO_ADDRESS(U8500_PER1_BASE + 0xF000 + 0x0C)); diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h index eb4a16c955e..50383fb028d 100755 --- a/arch/arm/mach-ux500/clock.h +++ b/arch/arm/mach-ux500/clock.h @@ -103,8 +103,8 @@ struct clk { /* The rest are only for PRCC clks */ int cluster; - unsigned int prcc_bus; - unsigned int prcc_kernel; + int prcc_bus; + int prcc_kernel; struct clk *parent_cluster; struct clk *parent_periph; diff --git a/arch/arm/mach-ux500/dma_40.c b/arch/arm/mach-ux500/dma_40.c index 13d19c3cb62..174f94360c7 100755 --- a/arch/arm/mach-ux500/dma_40.c +++ b/arch/arm/mach-ux500/dma_40.c @@ -1464,7 +1464,7 @@ struct scatterlist *generate_sg_list(struct dma_channel_info *info, static int map_lli_info_log_chan(struct dma_channel_info *info, int type, struct std_log_memory_param *params) { - int idx = 0; + unsigned int idx = 0; struct scatterlist *sg; u32 step_size = 0; u32 lli_count = 0; @@ -1646,7 +1646,7 @@ static int map_lli_info_log_chan(struct dma_channel_info *info, int type, */ static int map_lli_info_phys_chan(struct dma_channel_info *info, int type) { - int idx = 0; + unsigned int idx = 0; struct dma_lli_info *lli_ptr = NULL; u32 temp; dma_addr_t phys_lli_addr = 0; diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 438ef16aec9..baf788d5749 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -134,7 +134,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) { unsigned int ncores = get_core_count(); unsigned int cpu = smp_processor_id(); - int i; + unsigned int i; /* sanity check */ if (ncores == 0) { |