forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/mips/include/asm/mach-loongson32/platform.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License as published by the
6
- * Free Software Foundation; either version 2 of the License, or (at your
7
- * option) any later version.
84 */
95
106 #ifndef __ASM_MACH_LOONGSON32_PLATFORM_H
....@@ -17,19 +13,15 @@
1713
1814 extern struct platform_device ls1x_uart_pdev;
1915 extern struct platform_device ls1x_cpufreq_pdev;
20
-extern struct platform_device ls1x_dma_pdev;
2116 extern struct platform_device ls1x_eth0_pdev;
2217 extern struct platform_device ls1x_eth1_pdev;
2318 extern struct platform_device ls1x_ehci_pdev;
2419 extern struct platform_device ls1x_gpio0_pdev;
2520 extern struct platform_device ls1x_gpio1_pdev;
26
-extern struct platform_device ls1x_nand_pdev;
2721 extern struct platform_device ls1x_rtc_pdev;
2822 extern struct platform_device ls1x_wdt_pdev;
2923
3024 void __init ls1x_clk_init(void);
31
-void __init ls1x_dma_set_platdata(struct plat_ls1x_dma *pdata);
32
-void __init ls1x_nand_set_platdata(struct plat_ls1x_nand *pdata);
3325 void __init ls1x_rtc_set_extclk(struct platform_device *pdev);
3426 void __init ls1x_serial_set_uartclk(struct platform_device *pdev);
3527