• G
    mfd: si476x: Do not use binary constants · b0222afa
    Geert Uytterhoeven 提交于
    Gcc < 4.3 doesn't understand binary constanrs (0b*):
    
    drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix "b11111" on integer constant
    drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix "b00001000" on integer constant
    drivers/mfd/si476x-cmd.c:776:20: error: invalid suffix "b00000100" on integer constant
    drivers/mfd/si476x-cmd.c:777:21: error: invalid suffix "b00000010" on integer constant
    drivers/mfd/si476x-cmd.c:778:21: error: invalid suffix "b00000001" on integer constant
    drivers/mfd/si476x-cmd.c:780:17: error: invalid suffix "b10000000" on integer constant
    drivers/mfd/si476x-cmd.c:781:22: error: invalid suffix "b00100000" on integer constant
    ...
    
    Hence use hexadecimal constants (0x*) instead.
    Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
    Acked-by: NAndrey Smirnov <andrew.smirnov@gmail.com>
    Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
    b0222afa
si476x-cmd.c 46.2 KB