kernel/drivers/s390/cio/scm.c
.. .. @@ -174,10 +174,10 @@ 174 174 kobject_uevent(&scmdev->dev.kobj, KOBJ_CHANGE); 175 175 } 176 176 177 -static int check_address(struct device *dev, void *data)177 +static int check_address(struct device *dev, const void *data)178 178 { 179 179 struct scm_device *scmdev = to_scm_dev(dev); 180 - struct sale *sale = data;180 + const struct sale *sale = data;181 181 182 182 return scmdev->address == sale->sa; 183 183 }