modpost/file2alias: Fix typo
authorBrian Gerst <bgerst@didntduck.org>
Sun, 8 Jan 2006 15:53:55 +0000 (10:53 -0500)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 8 Jan 2006 17:44:01 +0000 (18:44 +0100)
SND_MAX should be FF_MAX

Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/file2alias.c

index e0eedffe565b4ed8a75c3a91002b7c31a8d63254..be97caf664bbf47bc6e7ff5e98cf5f6b297f2e62 100644 (file)
@@ -417,7 +417,7 @@ static int do_input_entry(const char *filename, struct input_device_id *id,
                do_input(alias, id->sndbit, 0, SND_MAX);
        sprintf(alias + strlen(alias), "f*");
        if (id->flags&INPUT_DEVICE_ID_MATCH_FFBIT)
-               do_input(alias, id->ffbit, 0, SND_MAX);
+               do_input(alias, id->ffbit, 0, FF_MAX);
        sprintf(alias + strlen(alias), "w*");
        if (id->flags&INPUT_DEVICE_ID_MATCH_SWBIT)
                do_input(alias, id->swbit, 0, SW_MAX);