Permalink
Browse files

remove compile warnings

  • Loading branch information...
sakuramilk committed Oct 4, 2011
1 parent e0758e5 commit 29354806e37c7c675a54d2615bfcb1370362a5a1
Showing with 9 additions and 2 deletions.
  1. +7 −0 arch/arm/mach-s5pv310/cpufreq-oc.c
  2. +1 −1 arch/arm/mm/alignment.c
  3. +1 −1 init/main.c
@@ -2007,6 +2007,10 @@ static inline void s5pv310_asv_set_voltage(void)
case CUST_ARM_CLK_L9:
asv_arm_index = 9;
break;
default:
printk(KERN_ERR "Invalid cpufreq.");
asv_arm_index = 3;
break;
}
if (s5pv310_max_armclk != CUST_ARM_CLK_MAX)
@@ -2033,6 +2037,9 @@ static inline void s5pv310_asv_set_voltage(void)
case 133333:
asv_int_index = 2;
break;
default:
printk(KERN_ERR "Invalid busfreq.");
asv_int_index = 0;
}
asv_int_volt = s5pv310_busfreq_table[asv_int_index].volt;
regulator_set_voltage(int_regulator, asv_int_volt, asv_int_volt);
View
@@ -717,7 +717,7 @@ do_alignment_t32_to_handler(unsigned long *pinstr, struct pt_regs *regs,
static int
do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
{
union offset_union offset;
union offset_union offset = { .un = 0 };
unsigned long instr = 0, instrptr;
int (*handler)(unsigned long addr, unsigned long instr, struct pt_regs *regs);
unsigned int type;
View
@@ -739,7 +739,7 @@ static struct boot_trace_ret ret;
int do_one_initcall(initcall_t fn)
{
int count = preempt_count();
ktime_t calltime, delta, rettime;
ktime_t calltime = { .tv64 = 0 }, delta, rettime;
if (initcall_debug) {
call.caller = task_pid_nr(current);

0 comments on commit 2935480

Please sign in to comment.