diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-09-27 01:13:38 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:51 -0400 |
commit | b95cce3576813ac3f86bafa6b5daaaaf7574b0fe (patch) | |
tree | 54da3f245ee145722623a8e0eaab5fc49ea78511 /drivers/s390 | |
parent | 0c4e85813d0a94eeb8bf813397a4907bdd7bb610 (diff) |
[NET]: Wrap hard_header_parse
Wrap the hard_header_parse function to simplify next step of
header_ops conversion.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 8c46978e0afa..65225b3989dd 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -6561,10 +6561,10 @@ static struct ethtool_ops qeth_ethtool_ops = { | |||
6561 | }; | 6561 | }; |
6562 | 6562 | ||
6563 | static int | 6563 | static int |
6564 | qeth_hard_header_parse(struct sk_buff *skb, unsigned char *haddr) | 6564 | qeth_hard_header_parse(const struct sk_buff *skb, unsigned char *haddr) |
6565 | { | 6565 | { |
6566 | struct qeth_card *card; | 6566 | const struct qeth_card *card; |
6567 | struct ethhdr *eth; | 6567 | const struct ethhdr *eth; |
6568 | 6568 | ||
6569 | card = qeth_get_card_from_dev(skb->dev); | 6569 | card = qeth_get_card_from_dev(skb->dev); |
6570 | if (card->options.layer2) | 6570 | if (card->options.layer2) |