greybus: svc: use bit-macro for cport flags

Use BIT-macro for cport flags.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2015-11-11 10:07:08 +01:00 committed by Greg Kroah-Hartman
parent 35a84ba7f9
commit f6c6c1388a
1 changed files with 3 additions and 3 deletions

View File

@ -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,