Commit 4b8f03e3 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: gs_usb: GS_CAN_FLAG_OVERFLOW: make use of BIT()

This patch converts the driver to use BIT() to define flags.

Link: https://lore.kernel.org/all/20220309124132.291861-5-mkl@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent f6bb2510
...@@ -136,7 +136,7 @@ struct gs_device_bt_const { ...@@ -136,7 +136,7 @@ struct gs_device_bt_const {
__le32 brp_inc; __le32 brp_inc;
} __packed; } __packed;
#define GS_CAN_FLAG_OVERFLOW 1 #define GS_CAN_FLAG_OVERFLOW BIT(0)
struct gs_host_frame { struct gs_host_frame {
u32 echo_id; u32 echo_id;
......
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