summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann2018-09-26 18:29:10 +0200
committerDavid S. Miller2018-09-26 18:56:07 +0200
commit8f6637b878c9efc70ceee1ed3f480c55f697720a (patch)
treedbd7f02dd1568f75e2c646fabd4e41c4bd518ba5 /drivers/s390/net/qeth_core.h
parents390/qeth: re-use qeth_notify_skbs() (diff)
downloadkernel-qcow2-linux-8f6637b878c9efc70ceee1ed3f480c55f697720a.tar.gz
kernel-qcow2-linux-8f6637b878c9efc70ceee1ed3f480c55f697720a.tar.xz
kernel-qcow2-linux-8f6637b878c9efc70ceee1ed3f480c55f697720a.zip
s390/qeth: pass card pointer in iob callback
This allows us to remove the CARD_FROM_CDEV calls in the iob callbacks. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 630a01b3212c..64bcb1237db0 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -582,7 +582,8 @@ struct qeth_cmd_buffer {
struct qeth_channel *channel;
unsigned char *data;
int rc;
- void (*callback) (struct qeth_channel *, struct qeth_cmd_buffer *);
+ void (*callback)(struct qeth_card *card, struct qeth_channel *channel,
+ struct qeth_cmd_buffer *iob);
};
static inline struct qeth_ipa_cmd *__ipa_cmd(struct qeth_cmd_buffer *iob)