mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
sh_eth: get SH7619 support out of #ifdef
Get the SH7619 data in the driver out of #ifdef by adding "sh7619-ether" to the platform driver's ID table. Change the Ether platform device's name in the SH platform code accordingly. Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7bbe150d8c
commit
c18a79abe3
2 changed files with 5 additions and 5 deletions
|
|
@ -124,8 +124,8 @@ static struct resource eth_resources[] = {
|
|||
};
|
||||
|
||||
static struct platform_device eth_device = {
|
||||
.name = "sh-eth",
|
||||
.id = -1,
|
||||
.name = "sh7619-ether",
|
||||
.id = -1,
|
||||
.dev = {
|
||||
.platform_data = (void *)1,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue