forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/s390/cio/scm.c
....@@ -174,10 +174,10 @@
174174 kobject_uevent(&scmdev->dev.kobj, KOBJ_CHANGE);
175175 }
176176
177
-static int check_address(struct device *dev, void *data)
177
+static int check_address(struct device *dev, const void *data)
178178 {
179179 struct scm_device *scmdev = to_scm_dev(dev);
180
- struct sale *sale = data;
180
+ const struct sale *sale = data;
181181
182182 return scmdev->address == sale->sa;
183183 }