Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / drivers / mmc / core / sdio_bus.c
index f191a2a76f3bb2f5d99b22c68bb8d86457fe4f72..47a48e902a243bb13fb33dcc4d1c592af1e17da7 100644 (file)
@@ -120,9 +120,9 @@ static int sdio_bus_match(struct device *dev, struct device_driver *drv)
 }
 
 static int
-sdio_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
+sdio_bus_uevent(const struct device *dev, struct kobj_uevent_env *env)
 {
-       struct sdio_func *func = dev_to_sdio_func(dev);
+       const struct sdio_func *func = dev_to_sdio_func(dev);
        unsigned int i;
 
        if (add_uevent_var(env,