mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[RIOWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
1715f5ef0d
commit
95b0ce9d6d
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ static int __init riowd_bbc_init(void)
|
|||
|
||||
for_each_ebus(ebus) {
|
||||
for_each_ebusdev(edev, ebus) {
|
||||
if (!strcmp(edev->prom_name, "bbc"))
|
||||
if (!strcmp(edev->ofdev.node->name, "bbc"))
|
||||
goto found_bbc;
|
||||
}
|
||||
}
|
||||
|
|
@ -238,7 +238,7 @@ static int __init riowd_init(void)
|
|||
|
||||
for_each_ebus(ebus) {
|
||||
for_each_ebusdev(edev, ebus) {
|
||||
if (!strcmp(edev->prom_name, RIOWD_NAME))
|
||||
if (!strcmp(edev->ofdev.node->name, RIOWD_NAME))
|
||||
goto ebus_done;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue