]> git.baikalelectronics.ru Git - kernel.git/commit
Input: avoid BIT() macro usage in the serio.h UAPI header
authorEugene Syromiatnikov <esyr@redhat.com>
Tue, 24 Mar 2020 22:53:50 +0000 (15:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2020 22:59:34 +0000 (15:59 -0700)
commit6ec4534f709589911c02c433a4ea109dcd110513
tree31442b4e026a2ce3661e17156ce1591ab661dadc
parente4b0d659f4a3c028b6a6fc3e6f049bf814743875
Input: avoid BIT() macro usage in the serio.h UAPI header

The commit 38a4f117d3e0 ("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: 38a4f117d3e0 ("Input: psmouse - add a custom serio protocol to send extra information")
Signed-off-by: Eugene 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/uapi/linux/serio.h