]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/soundwire/slave.c
soundwire: slave: fix scanf format
[linux.git] / drivers / soundwire / slave.c
index 48a63ca130d2b2db4ccce74193f76e71c27f571c..6473fa602f82cc81b745f97cca97df1323618939 100644 (file)
@@ -128,7 +128,8 @@ int sdw_of_find_slaves(struct sdw_bus *bus)
        struct device_node *node;
 
        for_each_child_of_node(bus->dev->of_node, node) {
-               int link_id, sdw_version, ret, len;
+               int link_id, ret, len;
+               unsigned int sdw_version;
                const char *compat = NULL;
                struct sdw_slave_id id;
                const __be32 *addr;