Skip to contentSkip to conversation

serial: sh: Unify R8A7795 and R8A7796 as Gen3

PATCH New Marek Vasut 1 participant 1 message Nov 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: sh: Unify R8A7795 and R8A7796 as Gen3

Unify the CONFIG_R8A7795 and CONFIG_R8A7796 as CONFIG_RCAR_GEN3 so that every time we add a new SoC, we won't have to add more stuff to this list.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 drivers/serial/serial_sh.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/serial/serial_sh.h +1 -2
index 4d27122243..1b8d742f1c 100644
@@ -226,8 +226,7 @@ struct uart_port {
 # define SCSCR_INIT(port)	0x38	/* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */
 #elif defined(CONFIG_R8A7790) || defined(CONFIG_R8A7791) || \
 	defined(CONFIG_R8A7792) || defined(CONFIG_R8A7793) || \
-	defined(CONFIG_R8A7794) || defined(CONFIG_R8A7795) || \
-	defined(CONFIG_R8A7796)
+	defined(CONFIG_R8A7794) || defined(CONFIG_RCAR_GEN3)
 # if defined(CONFIG_SCIF_A)
 #  define SCIF_ORER	0x0200
 # else
Signature · 1 line
2.15.0