• Olof Johansson's avatar
    [POWERPC] Fix fsl_soc build breaks · 2b00b254
    Olof Johansson authored
    
    
    Hrm, there's no way this ever built at time of merge. There's a missing } and
    the wrong type on phy_irq.
    
    Also, another const for get_property().
    
      CC      arch/powerpc/sysdev/fsl_soc.o
    arch/powerpc/sysdev/fsl_soc.c: In function 'fs_enet_of_init':
    arch/powerpc/sysdev/fsl_soc.c:625: error: assignment of read-only variable 'phy_irq'
    arch/powerpc/sysdev/fsl_soc.c:625: warning: assignment makes integer from pointer without a cast
    arch/powerpc/sysdev/fsl_soc.c:661: warning: assignment discards qualifiers from pointer target type
    arch/powerpc/sysdev/fsl_soc.c:684: error: subscripted value is neither array nor pointer
    arch/powerpc/sysdev/fsl_soc.c:687: error: subscripted value is neither array nor pointer
    arch/powerpc/sysdev/fsl_soc.c:722: warning: ISO C90 forbids mixed declarations and code
    arch/powerpc/sysdev/fsl_soc.c:728: error: invalid storage class for function 'cpm_uart_of_init'
    arch/powerpc/sysdev/fsl_soc.c:798: error: initializer element is not constant
    arch/powerpc/sysdev/fsl_soc.c:798: error: expected declaration or statement at end of input
    make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    2b00b254