Skip to content
Snippets Groups Projects
Commit d3dbedd4 authored by Eugene Syromiatnikov's avatar Eugene Syromiatnikov Committed by Greg Kroah-Hartman
Browse files

Input: avoid BIT() macro usage in the serio.h UAPI header


commit 52afa505 upstream.

The commit 19ba1eb1 ("Input: psmouse - add a custom serio protocol
to send extra information") introduced usage of the BIT() macro
for SERIO_* flags; this macro is not provided in UAPI headers.
Replace if with similarly defined _BITUL() macro defined
in <linux/const.h>.

Fixes: 19ba1eb1 ("Input: psmouse - add a custom serio protocol to send extra information")
Signed-off-by: default avatarEugene Syromiatnikov <esyr@redhat.com>
Cc: <stable@vger.kernel.org> # v5.0+
Link: https://lore.kernel.org/r/20200324041341.GA32335@asgard.redhat.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 374477e3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment