hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/dma/sh/shdma.h
....@@ -1,13 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
23 * Renesas SuperH DMA Engine support
34 *
45 * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
56 * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved.
6
- *
7
- * This is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 *
128 */
139 #ifndef __DMA_SHDMA_H
....@@ -61,12 +57,5 @@
6157 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx)
6258 #define to_sh_dev(chan) container_of(chan->shdma_chan.dma_chan.device,\
6359 struct sh_dmae_device, shdma_dev.dma_dev)
64
-
65
-#ifdef CONFIG_SH_DMAE_R8A73A4
66
-extern const struct sh_dmae_pdata r8a73a4_dma_pdata;
67
-#define r8a73a4_shdma_devid (&r8a73a4_dma_pdata)
68
-#else
69
-#define r8a73a4_shdma_devid NULL
70
-#endif
7160
7261 #endif /* __DMA_SHDMA_H */