diff options
| -rw-r--r-- | arch/powerpc/platforms/85xx/p1022_ds.c | 8 | ||||
| -rw-r--r-- | arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c index 848a3e98e1c1..8b0e05f4f60c 100644 --- a/arch/powerpc/platforms/85xx/p1022_ds.c +++ b/arch/powerpc/platforms/85xx/p1022_ds.c | |||
| @@ -215,13 +215,13 @@ static void p1022ds_set_monitor_port(enum fsl_diu_monitor_port port) | |||
| 215 | /* Map the global utilities registers. */ | 215 | /* Map the global utilities registers. */ |
| 216 | guts_node = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); | 216 | guts_node = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); |
| 217 | if (!guts_node) { | 217 | if (!guts_node) { |
| 218 | pr_err("p1022ds: missing global utilties device node\n"); | 218 | pr_err("p1022ds: missing global utilities device node\n"); |
| 219 | return; | 219 | return; |
| 220 | } | 220 | } |
| 221 | 221 | ||
| 222 | guts = of_iomap(guts_node, 0); | 222 | guts = of_iomap(guts_node, 0); |
| 223 | if (!guts) { | 223 | if (!guts) { |
| 224 | pr_err("p1022ds: could not map global utilties device\n"); | 224 | pr_err("p1022ds: could not map global utilities device\n"); |
| 225 | goto exit; | 225 | goto exit; |
| 226 | } | 226 | } |
| 227 | 227 | ||
| @@ -416,14 +416,14 @@ void p1022ds_set_pixel_clock(unsigned int pixclock) | |||
| 416 | /* Map the global utilities registers. */ | 416 | /* Map the global utilities registers. */ |
| 417 | guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); | 417 | guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); |
| 418 | if (!guts_np) { | 418 | if (!guts_np) { |
| 419 | pr_err("p1022ds: missing global utilties device node\n"); | 419 | pr_err("p1022ds: missing global utilities device node\n"); |
| 420 | return; | 420 | return; |
| 421 | } | 421 | } |
| 422 | 422 | ||
| 423 | guts = of_iomap(guts_np, 0); | 423 | guts = of_iomap(guts_np, 0); |
| 424 | of_node_put(guts_np); | 424 | of_node_put(guts_np); |
| 425 | if (!guts) { | 425 | if (!guts) { |
| 426 | pr_err("p1022ds: could not map global utilties device\n"); | 426 | pr_err("p1022ds: could not map global utilities device\n"); |
| 427 | return; | 427 | return; |
| 428 | } | 428 | } |
| 429 | 429 | ||
diff --git a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c index a817398a56da..7076006f972e 100644 --- a/arch/powerpc/platforms/86xx/mpc8610_hpcd.c +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c | |||
| @@ -236,14 +236,14 @@ void mpc8610hpcd_set_pixel_clock(unsigned int pixclock) | |||
| 236 | /* Map the global utilities registers. */ | 236 | /* Map the global utilities registers. */ |
| 237 | guts_np = of_find_compatible_node(NULL, NULL, "fsl,mpc8610-guts"); | 237 | guts_np = of_find_compatible_node(NULL, NULL, "fsl,mpc8610-guts"); |
| 238 | if (!guts_np) { | 238 | if (!guts_np) { |
| 239 | pr_err("mpc8610hpcd: missing global utilties device node\n"); | 239 | pr_err("mpc8610hpcd: missing global utilities device node\n"); |
| 240 | return; | 240 | return; |
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | guts = of_iomap(guts_np, 0); | 243 | guts = of_iomap(guts_np, 0); |
| 244 | of_node_put(guts_np); | 244 | of_node_put(guts_np); |
| 245 | if (!guts) { | 245 | if (!guts) { |
| 246 | pr_err("mpc8610hpcd: could not map global utilties device\n"); | 246 | pr_err("mpc8610hpcd: could not map global utilities device\n"); |
| 247 | return; | 247 | return; |
| 248 | } | 248 | } |
| 249 | 249 | ||
