aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/ioport.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-12-12 17:09:58 +0100
committerChristoph Hellwig2018-12-13 10:06:04 +0100
commit48cc8f7a1d5a4b1c5b32de5ad8a53b1c9194c6d5 (patch)
treecb92db47df7950ae671671971f81cf2d0661fd78 /arch/sparc/kernel/ioport.c
parent6aa69750ef1b162417811aa2d940a8df30acd930 (diff)
sparc: use DT node full_name in sparc_dma_alloc_resource
The sparc tree already has this change for the pre-refactored code, but pulling it into the dma-mapping tree like this should ease the merge conflicts a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: David Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
-rw-r--r--arch/sparc/kernel/ioport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
index 51c128d80193..baa235652c27 100644
--- a/arch/sparc/kernel/ioport.c
+++ b/arch/sparc/kernel/ioport.c
@@ -252,7 +252,7 @@ unsigned long sparc_dma_alloc_resource(struct device *dev, size_t len)
res = kzalloc(sizeof(*res), GFP_KERNEL);
if (!res)
return 0;
- res->name = dev->of_node->name;
+ res->name = dev->of_node->full_name;
if (allocate_resource(&_sparc_dvma, res, len, _sparc_dvma.start,
_sparc_dvma.end, PAGE_SIZE, NULL, NULL) != 0) {