diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index e2fcd2307e67..33eec2822c66 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -335,32 +335,6 @@ static void __init pSeries_init_early(void) | |||
335 | DBG(" <- pSeries_init_early()\n"); | 335 | DBG(" <- pSeries_init_early()\n"); |
336 | } | 336 | } |
337 | 337 | ||
338 | |||
339 | static int pSeries_check_legacy_ioport(unsigned int baseport) | ||
340 | { | ||
341 | struct device_node *np; | ||
342 | |||
343 | #define I8042_DATA_REG 0x60 | ||
344 | #define FDC_BASE 0x3f0 | ||
345 | |||
346 | |||
347 | switch(baseport) { | ||
348 | case I8042_DATA_REG: | ||
349 | np = of_find_node_by_type(NULL, "8042"); | ||
350 | if (np == NULL) | ||
351 | return -ENODEV; | ||
352 | of_node_put(np); | ||
353 | break; | ||
354 | case FDC_BASE: | ||
355 | np = of_find_node_by_type(NULL, "fdc"); | ||
356 | if (np == NULL) | ||
357 | return -ENODEV; | ||
358 | of_node_put(np); | ||
359 | break; | ||
360 | } | ||
361 | return 0; | ||
362 | } | ||
363 | |||
364 | /* | 338 | /* |
365 | * Called very early, MMU is off, device-tree isn't unflattened | 339 | * Called very early, MMU is off, device-tree isn't unflattened |
366 | */ | 340 | */ |
@@ -537,7 +511,6 @@ define_machine(pseries) { | |||
537 | .set_rtc_time = rtas_set_rtc_time, | 511 | .set_rtc_time = rtas_set_rtc_time, |
538 | .calibrate_decr = generic_calibrate_decr, | 512 | .calibrate_decr = generic_calibrate_decr, |
539 | .progress = rtas_progress, | 513 | .progress = rtas_progress, |
540 | .check_legacy_ioport = pSeries_check_legacy_ioport, | ||
541 | .system_reset_exception = pSeries_system_reset_exception, | 514 | .system_reset_exception = pSeries_system_reset_exception, |
542 | .machine_check_exception = pSeries_machine_check_exception, | 515 | .machine_check_exception = pSeries_machine_check_exception, |
543 | }; | 516 | }; |