• S
    [POWERPC] Use dev_set_name in pci_64.c · 420b5eea
    Stephen Rothwell 提交于
    During the next merge window, pci_name()'s return value will become
    const, so use the new dev_set_name() instead to avoid the warning (from
    linux-next):
    
    arch/powerpc/kernel/pci_64.c: In function 'of_create_pci_dev':
    arch/powerpc/kernel/pci_64.c:193: warning: passing argument 1 of 'sprintf' discards qualifiers from pointer target type
    
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    420b5eea
pci_64.c 17.3 KB