diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-03-04 10:34:05 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-03-07 13:12:02 +0100 |
commit | 543691a4e1e040300ce6598a6ce6527d3144e5db (patch) | |
tree | 6e917efd7c2e6bbf0ed258a78982e61ab877a56d /drivers/s390/block/dasd_int.h | |
parent | s390/dasd: Refactor dasd format functions (diff) | |
download | linux-543691a4e1e040300ce6598a6ce6527d3144e5db.tar.xz linux-543691a4e1e040300ce6598a6ce6527d3144e5db.zip |
s390/dasd: remove casts to dasd_*_private
Convert dasd_device.private to be a void pointer to get
rid of a lot of explicit casts.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index ffd77230dce9..8de29be32a56 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h @@ -445,7 +445,7 @@ struct dasd_device { /* Device discipline stuff. */ struct dasd_discipline *discipline; struct dasd_discipline *base_discipline; - char *private; + void *private; struct dasd_path path_data; /* Device state and target state. */ |