diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-03 13:36:11 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-09 11:32:40 +1000 |
commit | 420b5eeaee5b877829c4f0a514a5ad21448596af (patch) | |
tree | 7d0f7e805f4b3cbb0a70a73ee181ad1f89a9a574 /include/linux/memory_hotplug.h | |
parent | 0be234a46596cd19eb56d2cf46836de8221afb6b (diff) | |
download | linux-420b5eeaee5b877829c4f0a514a5ad21448596af.tar.gz linux-420b5eeaee5b877829c4f0a514a5ad21448596af.tar.bz2 linux-420b5eeaee5b877829c4f0a514a5ad21448596af.zip |
[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>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions