Commit cc6fa432 authored by Brian Gerst's avatar Brian Gerst Committed by Sam Ravnborg

modpost/file2alias: Fix typo

SND_MAX should be FF_MAX
Signed-off-by: default avatarBrian Gerst <bgerst@didntduck.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent ac448afb
...@@ -417,7 +417,7 @@ static int do_input_entry(const char *filename, struct input_device_id *id, ...@@ -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); do_input(alias, id->sndbit, 0, SND_MAX);
sprintf(alias + strlen(alias), "f*"); sprintf(alias + strlen(alias), "f*");
if (id->flags&INPUT_DEVICE_ID_MATCH_FFBIT) 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*"); sprintf(alias + strlen(alias), "w*");
if (id->flags&INPUT_DEVICE_ID_MATCH_SWBIT) if (id->flags&INPUT_DEVICE_ID_MATCH_SWBIT)
do_input(alias, id->swbit, 0, SW_MAX); do_input(alias, id->swbit, 0, SW_MAX);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment