]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/mod/file2alias.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
[linux-2.6-omap-h63xx.git] / scripts / mod / file2alias.c
index e7b5350b65cedf7c43bf67155d41ae4b53f1092f..84e21201f3c09fc7524208ff23ec24568341135f 100644 (file)
@@ -245,7 +245,7 @@ static int do_ccw_entry(const char *filename,
            id->cu_model);
        ADD(alias, "dt", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE,
            id->dev_type);
-       ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE,
+       ADD(alias, "dm", id->match_flags&CCW_DEVICE_ID_MATCH_DEVICE_MODEL,
            id->dev_model);
        return 1;
 }