Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c1f9668 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD
Browse files

at91: fix at91_set_serial_console: use platform device id

parent 5220cc93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1220,7 +1220,7 @@ void __init at91_set_serial_console(unsigned portnr)
{
	if (portnr < ATMEL_MAX_UART) {
		atmel_default_console_device = at91_uarts[portnr];
		at91cap9_set_console_clock(portnr);
		at91cap9_set_console_clock(at91_uarts[portnr]->id);
	}
}

+1 −1
Original line number Diff line number Diff line
@@ -1135,7 +1135,7 @@ void __init at91_set_serial_console(unsigned portnr)
{
	if (portnr < ATMEL_MAX_UART) {
		atmel_default_console_device = at91_uarts[portnr];
		at91rm9200_set_console_clock(portnr);
		at91rm9200_set_console_clock(at91_uarts[portnr]->id);
	}
}

+1 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,7 @@ void __init at91_set_serial_console(unsigned portnr)
{
	if (portnr < ATMEL_MAX_UART) {
		atmel_default_console_device = at91_uarts[portnr];
		at91sam9260_set_console_clock(portnr);
		at91sam9260_set_console_clock(at91_uarts[portnr]->id);
	}
}

+1 −1
Original line number Diff line number Diff line
@@ -1013,7 +1013,7 @@ void __init at91_set_serial_console(unsigned portnr)
{
	if (portnr < ATMEL_MAX_UART) {
		atmel_default_console_device = at91_uarts[portnr];
		at91sam9261_set_console_clock(portnr);
		at91sam9261_set_console_clock(at91_uarts[portnr]->id);
	}
}

+1 −1
Original line number Diff line number Diff line
@@ -1395,7 +1395,7 @@ void __init at91_set_serial_console(unsigned portnr)
{
	if (portnr < ATMEL_MAX_UART) {
		atmel_default_console_device = at91_uarts[portnr];
		at91sam9263_set_console_clock(portnr);
		at91sam9263_set_console_clock(at91_uarts[portnr]->id);
	}
}

Loading