20 #include <linux/errno.h>
24 #include <linux/serial_core.h>
48 static unsigned int siu_type2_ports[
SIU_PORTS_MAX] __initdata = {
53 static struct resource siu_type2_resource[] __initdata = {
76 static int __init vr41xx_siu_add(
void)
90 pdev->
dev.platform_data = siu_type1_ports;
91 res = siu_type1_resource;
97 pdev->
dev.platform_data = siu_type2_ports;
98 res = siu_type2_resource;
103 goto err_free_device;
108 goto err_free_device;
112 goto err_free_device;
133 type = siu_type1_ports;
134 res = siu_type1_resource;
139 type = siu_type2_ports;
140 res = siu_type2_resource;
153 vr41xx_siu_early_setup(&port);