• Grant Likely's avatar
    drivers/of: fix build error when CONFIG_PPC_DCR is set · 596c955c
    Grant Likely authored
    Commit 94c09319
    
     (of:
    Merge of_device_alloc() and of_device_make_bus_id()) moved code that
    does calls a dcr routine without including the correct header which
    causes the following build error on some powerpc configurations:
    
    drivers/of/platform.c: In function 'of_device_make_bus_id':
    drivers/of/platform.c:437: error: implicit declaration of function 'of_translate_dcr_address'
    
    This patch adds the appropriate header to drivers/of/platform.c
    Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
    596c955c
platform.c 14.7 KB