]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Use dev_set_name in pci_64.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 3 Jun 2008 03:36:11 +0000 (13:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jun 2008 01:32:40 +0000 (11:32 +1000)
commit420b5eeaee5b877829c4f0a514a5ad21448596af
tree7d0f7e805f4b3cbb0a70a73ee181ad1f89a9a574
parent0be234a46596cd19eb56d2cf46836de8221afb6b
[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 <kay.sievers@vrfy.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_64.c