forked from Minki/linux
tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable
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>
This commit is contained in:
parent
fb700d3653
commit
ec86b45af4
@ -46,7 +46,6 @@
|
|||||||
#include <asm/hvconsole.h>
|
#include <asm/hvconsole.h>
|
||||||
#include <asm/vio.h>
|
#include <asm/vio.h>
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
#include <asm/firmware.h>
|
|
||||||
#include <asm/hvsi.h>
|
#include <asm/hvsi.h>
|
||||||
#include <asm/udbg.h>
|
#include <asm/udbg.h>
|
||||||
|
|
||||||
@ -322,9 +321,6 @@ static int __init hvc_vio_init(void)
|
|||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (firmware_has_feature(FW_FEATURE_ISERIES))
|
|
||||||
return -EIO;
|
|
||||||
|
|
||||||
/* Register as a vio device to receive callbacks */
|
/* Register as a vio device to receive callbacks */
|
||||||
rc = vio_register_driver(&hvc_vio_driver);
|
rc = vio_register_driver(&hvc_vio_driver);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user