Commit 95b0ce9d6d95819e65a7456261a0a5573b65ef1c
1 parent
1715f5ef0d
[RIOWATCHDOG]: Fix the build.
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/sbus/char/riowatchdog.c
... | ... | @@ -211,7 +211,7 @@ |
211 | 211 | |
212 | 212 | for_each_ebus(ebus) { |
213 | 213 | for_each_ebusdev(edev, ebus) { |
214 | - if (!strcmp(edev->prom_name, "bbc")) | |
214 | + if (!strcmp(edev->ofdev.node->name, "bbc")) | |
215 | 215 | goto found_bbc; |
216 | 216 | } |
217 | 217 | } |
... | ... | @@ -238,7 +238,7 @@ |
238 | 238 | |
239 | 239 | for_each_ebus(ebus) { |
240 | 240 | for_each_ebusdev(edev, ebus) { |
241 | - if (!strcmp(edev->prom_name, RIOWD_NAME)) | |
241 | + if (!strcmp(edev->ofdev.node->name, RIOWD_NAME)) | |
242 | 242 | goto ebus_done; |
243 | 243 | } |
244 | 244 | } |