• Jesper Nilsson's avatar
    CRISv32: ETRAX FS: Squash warnings in pinmux driver · 94230178
    Jesper Nilsson authored
    Squash the followng warnings
    
    arch/cris/arch-v32/mach-fs/pinmux.c: In function 'crisv32_pinmux_alloc_fixed':
    arch/cris/arch-v32/mach-fs/pinmux.c:104:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    arch/cris/arch-v32/mach-fs/pinmux.c: In function 'crisv32_pinmux_dealloc_fixed':
    arch/cris/arch-v32/mach-fs/pinmux.c:238:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    arch/cris/arch-v32/mach-fs/pinmux.c: In function '__crisv32_pinmux_alloc':
    arch/cris/arch-v32/mach-fs/pinmux.c:49:1: warning: control reaches end of non-void function [-Wreturn-type]
    Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
    94230178
pinmux.c 8 KB