|
@@ -551,7 +551,6 @@ static struct sh_eth_cpu_data r8a7740_data = {
|
|
|
.select_mii = 1,
|
|
|
.shift_rd0 = 1,
|
|
|
};
|
|
|
-#endif /* CONFIG_OF */
|
|
|
|
|
|
/* There is CPU dependent code */
|
|
|
static void sh_eth_set_rate_r8a777x(struct net_device *ndev)
|
|
@@ -593,7 +592,6 @@ static struct sh_eth_cpu_data r8a777x_data = {
|
|
|
.hw_swap = 1,
|
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_OF
|
|
|
/* R8A7790/1 */
|
|
|
static struct sh_eth_cpu_data r8a779x_data = {
|
|
|
.set_duplex = sh_eth_set_duplex,
|
|
@@ -3281,7 +3279,6 @@ static struct platform_device_id sh_eth_id_table[] = {
|
|
|
{ "sh7757-ether", (kernel_ulong_t)&sh7757_data },
|
|
|
{ "sh7757-gether", (kernel_ulong_t)&sh7757_data_giga },
|
|
|
{ "sh7763-gether", (kernel_ulong_t)&sh7763_data },
|
|
|
- { "r8a777x-ether", (kernel_ulong_t)&r8a777x_data },
|
|
|
{ }
|
|
|
};
|
|
|
MODULE_DEVICE_TABLE(platform, sh_eth_id_table);
|