summaryrefslogtreecommitdiff
path: root/drivers/dma/txx9dmac.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-11-22 00:16:48 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 22:46:44 +0100
commit34adb28d500e644cc260da4ceb66ba6dc0beaf93 (patch)
treed47596d498c031e9140f7fca3a5bc8b4a393a08d /drivers/dma/txx9dmac.h
parentf98614072c5d43421a2cfa6f9b911a071e6e6d5f (diff)
MIPS: Replace MIPS-specific 64BIT_PHYS_ADDR with generic PHYS_ADDR_T_64BIT
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/dma/txx9dmac.h')
-rw-r--r--drivers/dma/txx9dmac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/txx9dmac.h b/drivers/dma/txx9dmac.h
index f5a760598882..f6517b928bab 100644
--- a/drivers/dma/txx9dmac.h
+++ b/drivers/dma/txx9dmac.h
@@ -67,7 +67,7 @@ static inline bool txx9_dma_have_SMPCHN(void)
/* Hardware register definitions. */
struct txx9dmac_cregs {
-#if defined(CONFIG_32BIT) && !defined(CONFIG_64BIT_PHYS_ADDR)
+#if defined(CONFIG_32BIT) && !defined(CONFIG_PHYS_ADDR_T_64BIT)
TXX9_DMA_REG32(CHAR); /* Chain Address Register */
#else
u64 CHAR; /* Chain Address Register */
@@ -201,7 +201,7 @@ static inline bool is_dmac64(const struct txx9dmac_chan *dc)
#ifdef TXX9_DMA_USE_SIMPLE_CHAIN
/* Hardware descriptor definition. (for simple-chain) */
struct txx9dmac_hwdesc {
-#if defined(CONFIG_32BIT) && !defined(CONFIG_64BIT_PHYS_ADDR)
+#if defined(CONFIG_32BIT) && !defined(CONFIG_PHYS_ADDR_T_64BIT)
TXX9_DMA_REG32(CHAR);
#else
u64 CHAR;