projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a84ba
)
greybus: svc: use bit-macro for cport flags
author
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 11 Nov 2015 09:07:08 +0000
(10:07 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Wed, 11 Nov 2015 17:18:28 +0000
(09:18 -0800)
Use BIT-macro for cport flags.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/svc.c
b/drivers/staging/greybus/svc.c
index acf08e774791e18b601d9f8e0eac053cc3b38d20..6c1a157c10c5bc390016b8aadcccf6bf5f5f2a8d 100644
(file)
--- a/
drivers/staging/greybus/svc.c
+++ b/
drivers/staging/greybus/svc.c
@@
-12,9
+12,9
@@
#include "greybus.h"
-#define CPORT_FLAGS_E2EFC
(1
)
-#define CPORT_FLAGS_CSD_N
(2
)
-#define CPORT_FLAGS_CSV_N
(4
)
+#define CPORT_FLAGS_E2EFC
BIT(0
)
+#define CPORT_FLAGS_CSD_N
BIT(1
)
+#define CPORT_FLAGS_CSV_N
BIT(2
)
enum gb_svc_state {
GB_SVC_STATE_RESET,