From: Stephen Rothwell Date: Tue, 3 Jun 2008 03:36:11 +0000 (+1000) Subject: [POWERPC] Use dev_set_name in pci_64.c X-Git-Tag: v2.6.26-rc6~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=420b5eeaee5b877829c4f0a514a5ad21448596af;p=pandora-kernel.git [POWERPC] Use dev_set_name in pci_64.c 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 Cc: Greg KH Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed