Skip to content

Commit b16a960

Browse files
geertudavem330
authored andcommitted
sh_eth: Change platform check to CONFIG_ARCH_RENESAS
Since commit 9b5ba0d ("ARM: shmobile: Introduce ARCH_RENESAS") is CONFIG_ARCH_RENESAS a more appropriate platform check than the legacy CONFIG_ARCH_SHMOBILE, hence use the former. Renesas SuperH SH-Mobile SoCs are still covered by the CONFIG_CPU_SH4 check. This will allow to drop ARCH_SHMOBILE on ARM and ARM64 in the near future. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5447d78 commit b16a960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/renesas/sh_eth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ enum {
163163
};
164164

165165
/* Driver's parameters */
166-
#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_SHMOBILE)
166+
#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_RENESAS)
167167
#define SH_ETH_RX_ALIGN 32
168168
#else
169169
#define SH_ETH_RX_ALIGN 2

0 commit comments

Comments
 (0)