summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/scm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/scm.c')
-rw-r--r--drivers/s390/cio/scm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/scm.c b/drivers/s390/cio/scm.c
index 6bca1d5455d4..9f26d4310bb3 100644
--- a/drivers/s390/cio/scm.c
+++ b/drivers/s390/cio/scm.c
@@ -174,10 +174,10 @@ out:
kobject_uevent(&scmdev->dev.kobj, KOBJ_CHANGE);
}
-static int check_address(struct device *dev, void *data)
+static int check_address(struct device *dev, const void *data)
{
struct scm_device *scmdev = to_scm_dev(dev);
- struct sale *sale = data;
+ const struct sale *sale = data;
return scmdev->address == sale->sa;
}