lkml.org 
[lkml]   [2012]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/5] 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>
    ---
    drivers/tty/hvc/hvc_vio.c | 4 ----
    1 files changed, 0 insertions(+), 4 deletions(-)

    Greg, it is probably easiest for this to go through the powerpc tree.

    diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c
    index fc3c3ad..3a0d53d 100644
    --- a/drivers/tty/hvc/hvc_vio.c
    +++ b/drivers/tty/hvc/hvc_vio.c
    @@ -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);

    --
    1.7.9.1
    --
    Cheers,
    Stephen Rothwell sfr@canb.auug.org.au
    http://www.canb.auug.org.au/~sfr/
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-03-16 05:25    [W:0.019 / U:0.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site