driver core: make struct bus_type.uevent() take a const *
[sfrench/cifs-2.6.git] / sound / aoa / soundbus / core.c
index c9579d97fbab19765be38c01b8b81b8dc188d343..39fb8fe4e6ab858a6533d521e796a5f315e006d7 100644 (file)
@@ -55,10 +55,10 @@ static int soundbus_probe(struct device *dev)
 }
 
 
-static int soundbus_uevent(struct device *dev, struct kobj_uevent_env *env)
+static int soundbus_uevent(const struct device *dev, struct kobj_uevent_env *env)
 {
-       struct soundbus_dev * soundbus_dev;
-       struct platform_device * of;
+       const struct soundbus_dev * soundbus_dev;
+       const struct platform_device * of;
        const char *compat;
        int retval = 0;
        int cplen, seen = 0;