mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
modpost/file2alias: Fix typo
SND_MAX should be FF_MAX Signed-off-by: Brian Gerst <bgerst@didntduck.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
ac448afbcd
commit
cc6fa432f5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user