hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/dma/sh/shdmac.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * Renesas SuperH DMA Engine support
34 *
....@@ -7,11 +8,6 @@
78 * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
89 * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved.
910 * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
10
- *
11
- * This is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * (at your option) any later version.
1511 *
1612 * - DMA of SuperH does not have Hardware DMA chain mode.
1713 * - MAX DMA size is 16MB.
....@@ -669,12 +665,6 @@
669665 .get_partial = sh_dmae_get_partial,
670666 };
671667
672
-static const struct of_device_id sh_dmae_of_match[] = {
673
- {.compatible = "renesas,shdma-r8a73a4", .data = r8a73a4_shdma_devid,},
674
- {}
675
-};
676
-MODULE_DEVICE_TABLE(of, sh_dmae_of_match);
677
-
678668 static int sh_dmae_probe(struct platform_device *pdev)
679669 {
680670 const enum dma_slave_buswidth widths =
....@@ -919,7 +909,6 @@
919909 .driver = {
920910 .pm = &sh_dmae_pm,
921911 .name = SH_DMAE_DRV_NAME,
922
- .of_match_table = sh_dmae_of_match,
923912 },
924913 .remove = sh_dmae_remove,
925914 };