.poll_sent_bits = CSR_TDRE | CSR_TEND,
};
-static const struct sci_port_params rsci_port_params = {
+static const struct sci_port_params rsci_rzt2h_port_params = {
.fifosize = 16,
.overrun_reg = CSR,
.overrun_mask = CSR_ORER,
.shutdown_complete = rsci_shutdown_complete,
};
-struct sci_of_data of_sci_rsci_data = {
+struct sci_of_data of_rsci_rzt2h_data = {
.type = RSCI_PORT_SCIF16,
.ops = &rsci_port_ops,
.uart_ops = &rsci_uart_ops,
- .params = &rsci_port_params,
+ .params = &rsci_rzt2h_port_params,
};
#ifdef CONFIG_SERIAL_SH_SCI_EARLYCON
-static int __init rsci_early_console_setup(struct earlycon_device *device,
- const char *opt)
+static int __init rsci_rzt2h_early_console_setup(struct earlycon_device *device,
+ const char *opt)
{
- return scix_early_console_setup(device, &of_sci_rsci_data);
+ return scix_early_console_setup(device, &of_rsci_rzt2h_data);
}
-OF_EARLYCON_DECLARE(rsci, "renesas,r9a09g077-rsci", rsci_early_console_setup);
+OF_EARLYCON_DECLARE(rsci, "renesas,r9a09g077-rsci", rsci_rzt2h_early_console_setup);
#endif /* CONFIG_SERIAL_SH_SCI_EARLYCON */
#ifdef CONFIG_SERIAL_RSCI
{
.compatible = "renesas,r9a09g077-rsci",
- .data = &of_sci_rsci_data,
+ .data = &of_rsci_rzt2h_data,
},
#endif /* CONFIG_SERIAL_RSCI */
/* Family-specific types */