tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Mar 2012 18:16:54 +0000 (18:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 21 Mar 2012 00:16:11 +0000 (11:16 +1100)
so remove the code that tests for it.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/tty/hvc/hvc_vio.c

index fc3c3ad6c0727918412f5f778ffb704d7f8d1ad0..3a0d53d6368f2f177afc3fc7528ec27cdbd56027 100644 (file)
@@ -46,7 +46,6 @@
 #include <asm/hvconsole.h>
 #include <asm/vio.h>
 #include <asm/prom.h>
-#include <asm/firmware.h>
 #include <asm/hvsi.h>
 #include <asm/udbg.h>
 
@@ -322,9 +321,6 @@ static int __init hvc_vio_init(void)
 {
        int rc;
 
-       if (firmware_has_feature(FW_FEATURE_ISERIES))
-               return -EIO;
-
        /* Register as a vio device to receive callbacks */
        rc = vio_register_driver(&hvc_vio_driver);