1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2016 Yang Ling <gnaygnil@gmail.com>
8 static struct platform_device
*ls1c_platform_devices
[] __initdata
= {
15 static int __init
ls1c_platform_init(void)
17 ls1x_serial_set_uartclk(&ls1x_uart_pdev
);
18 ls1x_rtc_set_extclk(&ls1x_rtc_pdev
);
20 return platform_add_devices(ls1c_platform_devices
,
21 ARRAY_SIZE(ls1c_platform_devices
));
24 arch_initcall(ls1c_platform_init
);