X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=init%2Fdo_mounts.c;h=a2b49f2c1bd81c82fcf6766b5509b2341b8b98d6;hb=32dc43e40a2707d0cb1ab8768d080c3e9bcfed52;hp=1d1b6348f903c8e517567794765120d3dfa16d16;hpb=96680d2b9174668100824d763382240c71baa811;p=karo-tx-linux.git diff --git a/init/do_mounts.c b/init/do_mounts.c index 1d1b6348f903..a2b49f2c1bd8 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -81,9 +81,9 @@ struct uuidcmp { * * Returns 1 if the device matches, and 0 otherwise. */ -static int match_dev_by_uuid(struct device *dev, void *data) +static int match_dev_by_uuid(struct device *dev, const void *data) { - struct uuidcmp *cmp = data; + const struct uuidcmp *cmp = data; struct hd_struct *part = dev_to_part(dev); if (!part->info)