Skip to content

Commit

Permalink
[S390] pm: claw driver power management callbacks
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Frank Blaschka authored and Martin Schwidefsky committed Jun 16, 2009
1 parent b8a2d42 commit 88efc2c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions drivers/s390/net/claw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
* ESCON CLAW network driver
*
* Linux for zSeries version
* Copyright (C) 2002,2005 IBM Corporation
* Copyright IBM Corp. 2002, 2009
* Author(s) Original code written by:
* Kazuo Iimura (iimura@jp.ibm.com)
* Kazuo Iimura <iimura@jp.ibm.com>
* Rewritten by
* Andy Richter (richtera@us.ibm.com)
* Marc Price (mwprice@us.ibm.com)
* Andy Richter <richtera@us.ibm.com>
* Marc Price <mwprice@us.ibm.com>
*
* sysfs parms:
* group x.x.rrrr,x.x.wwww
Expand Down Expand Up @@ -253,6 +253,11 @@ static void claw_free_wrt_buf(struct net_device *dev);
/* Functions for unpack reads */
static void unpack_read(struct net_device *dev);

static int claw_pm_prepare(struct ccwgroup_device *gdev)
{
return -EPERM;
}

/* ccwgroup table */

static struct ccwgroup_driver claw_group_driver = {
Expand All @@ -264,6 +269,7 @@ static struct ccwgroup_driver claw_group_driver = {
.remove = claw_remove_device,
.set_online = claw_new_device,
.set_offline = claw_shutdown_device,
.prepare = claw_pm_prepare,
};

/*
Expand Down

0 comments on commit 88efc2c

Please sign in to comment.