summaryrefslogtreecommitdiff
path: root/drivers/soundwire/dmi-quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soundwire/dmi-quirks.c')
-rw-r--r--drivers/soundwire/dmi-quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c
index 82061c1d9835..5db0a2443a1d 100644
--- a/drivers/soundwire/dmi-quirks.c
+++ b/drivers/soundwire/dmi-quirks.c
@@ -80,7 +80,7 @@ u64 sdw_dmi_override_adr(struct sdw_bus *bus, u64 addr)
/* check if any address remap quirk applies */
dmi_id = dmi_first_match(adr_remap_quirk_table);
if (dmi_id) {
- struct adr_remap *map = dmi_id->driver_data;
+ struct adr_remap *map;
for (map = dmi_id->driver_data; map->adr; map++) {
if (map->adr == addr) {