diff options
Diffstat (limited to 'drivers/char/hvc_vio.c')
| -rw-r--r-- | drivers/char/hvc_vio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index cc95941148fb..f9c00844d2bf 100644 --- a/drivers/char/hvc_vio.c +++ b/drivers/char/hvc_vio.c | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | #include <asm/hvconsole.h> | 35 | #include <asm/hvconsole.h> |
| 36 | #include <asm/vio.h> | 36 | #include <asm/vio.h> |
| 37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
| 38 | #include <asm/firmware.h> | ||
| 38 | 39 | ||
| 39 | #include "hvc_console.h" | 40 | #include "hvc_console.h" |
| 40 | 41 | ||
| @@ -120,6 +121,9 @@ static int hvc_vio_init(void) | |||
| 120 | { | 121 | { |
| 121 | int rc; | 122 | int rc; |
| 122 | 123 | ||
| 124 | if (firmware_has_feature(FW_FEATURE_ISERIES)) | ||
| 125 | return -EIO; | ||
| 126 | |||
| 123 | /* Register as a vio device to receive callbacks */ | 127 | /* Register as a vio device to receive callbacks */ |
| 124 | rc = vio_register_driver(&hvc_vio_driver); | 128 | rc = vio_register_driver(&hvc_vio_driver); |
| 125 | 129 | ||
