Skip to content
  • Jeremy Kerr's avatar
    931b261f
    [POWERPC] Make get_property() return a const void * · 931b261f
    Jeremy Kerr authored
    
    
    Previous changes have treated the return values of get_property as
    const, so now we can make the actual change to get_property(). There
    shouldn't be a need to cast the return values anymore.
    
    We will now get compiler warnings when property values are assigned to
    a non-const variable.
    
    If properties need to be updated, there's still the of_find_property
    function.
    
    Built for cell_defconfig, chrp32_defconfig, g5_defconfig,
    iseries_defconfig, maple_defconfig, pmac32_defconfig, ppc64_defconfig
    and pseries_defconfig.
    
    Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    931b261f
    [POWERPC] Make get_property() return a const void *
    Jeremy Kerr authored
    
    
    Previous changes have treated the return values of get_property as
    const, so now we can make the actual change to get_property(). There
    shouldn't be a need to cast the return values anymore.
    
    We will now get compiler warnings when property values are assigned to
    a non-const variable.
    
    If properties need to be updated, there's still the of_find_property
    function.
    
    Built for cell_defconfig, chrp32_defconfig, g5_defconfig,
    iseries_defconfig, maple_defconfig, pmac32_defconfig, ppc64_defconfig
    and pseries_defconfig.
    
    Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Loading