aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2014-05-07 07:27:21 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-05-20 02:58:53 -0400
commit2bf29df7460f4038f84ac5dea3cbe582d6d4af82 (patch)
treef3c8fc9a1199da5a2d0426cc509d145097c22894 /drivers/s390/net
parent2e4006b34d06681ed95d55510d4450f29a13c417 (diff)
s390/cio: fix multiple structure definitions
Fix multiple definitions of struct channel_path_desc by moving it to asm/chpid.h . Also change ccw_device_get_chp_desc to use proper types. Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/qeth_core_main.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index 22470a3b182f..e89f38c31176 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -22,6 +22,7 @@
22#include <net/iucv/af_iucv.h> 22#include <net/iucv/af_iucv.h>
23 23
24#include <asm/ebcdic.h> 24#include <asm/ebcdic.h>
25#include <asm/chpid.h>
25#include <asm/io.h> 26#include <asm/io.h>
26#include <asm/sysinfo.h> 27#include <asm/sysinfo.h>
27#include <asm/compat.h> 28#include <asm/compat.h>
@@ -1344,16 +1345,7 @@ static void qeth_set_multiple_write_queues(struct qeth_card *card)
1344static void qeth_update_from_chp_desc(struct qeth_card *card) 1345static void qeth_update_from_chp_desc(struct qeth_card *card)
1345{ 1346{
1346 struct ccw_device *ccwdev; 1347 struct ccw_device *ccwdev;
1347 struct channelPath_dsc { 1348 struct channel_path_desc *chp_dsc;
1348 u8 flags;
1349 u8 lsn;
1350 u8 desc;
1351 u8 chpid;
1352 u8 swla;
1353 u8 zeroes;
1354 u8 chla;
1355 u8 chpp;
1356 } *chp_dsc;
1357 1349
1358 QETH_DBF_TEXT(SETUP, 2, "chp_desc"); 1350 QETH_DBF_TEXT(SETUP, 2, "chp_desc");
1359 1351