aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2014-05-22 18:50:50 -0400
committerGrant Likely <grant.likely@linaro.org>2014-05-22 19:28:02 -0400
commitba52464a629fab2493925007b00f2ca65d02ed4e (patch)
tree89e9308cbdd7002a32bf7f3a42b8442bf0ba54d9 /arch/powerpc/include/asm
parent07e461cd7e73a84f0e3757932b93cc80976fd749 (diff)
of: Stop naming platform_device using dcr address
There is now a way to ensure all platform devices get a unique name when populated from the device tree, and the DCR_NATIVE code path is broken anyway. PowerPC Cell (PS3) is the only platform that actually uses this path. Most likely nobody will notice if it is killed. Remove the code and associated ugly #ifdef. The user-visible impact of this patch is that any DCR device on Cell will get a new name in the /sys/devices hierarchy. Signed-off-by: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/dcr-mmio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/dcr-mmio.h b/arch/powerpc/include/asm/dcr-mmio.h
index acd491dbd45a..93a68b28e695 100644
--- a/arch/powerpc/include/asm/dcr-mmio.h
+++ b/arch/powerpc/include/asm/dcr-mmio.h
@@ -51,10 +51,6 @@ static inline void dcr_write_mmio(dcr_host_mmio_t host,
51 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); 51 out_be32(host.token + ((host.base + dcr_n) * host.stride), value);
52} 52}
53 53
54extern u64 of_translate_dcr_address(struct device_node *dev,
55 unsigned int dcr_n,
56 unsigned int *stride);
57
58#endif /* __KERNEL__ */ 54#endif /* __KERNEL__ */
59#endif /* _ASM_POWERPC_DCR_MMIO_H */ 55#endif /* _ASM_POWERPC_DCR_MMIO_H */
60 56