summaryrefslogtreecommitdiff
path: root/driver/pi3usb30532.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/pi3usb30532.h')
-rw-r--r--driver/pi3usb30532.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/pi3usb30532.h b/driver/pi3usb30532.h
index 15a9241239..7f120a9f85 100644
--- a/driver/pi3usb30532.h
+++ b/driver/pi3usb30532.h
@@ -21,9 +21,9 @@
#define PI3USB30532_VENDOR_ID 0
/* PI3USB30532 control flags */
-#define PI3USB30532_BIT_SWAP (1 << 0)
-#define PI3USB30532_BIT_DP (1 << 1)
-#define PI3USB30532_BIT_USB (1 << 2)
+#define PI3USB30532_BIT_SWAP BIT(0)
+#define PI3USB30532_BIT_DP BIT(1)
+#define PI3USB30532_BIT_USB BIT(2)
/* PI3USB30532 modes */
/* Power down, switch open */