summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-04-10 11:20:35 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-04-10 11:20:35 +0200
commitdcd1dadd7ee32b3fd135904fac85c556bac5cbc5 (patch)
tree4ccc2cc84d813e502861cf4589cfdf6414745c73 /drivers
parent67c920b892fc16141734bdf03f9d16974d8a076f (diff)
downloadlinux-dcd1dadd7ee32b3fd135904fac85c556bac5cbc5.tar.bz2
greybus: gpbridge.h: remove BIT() define
It's up to other files to define this if it's not present, not this file. Reported-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/gpbridge.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/greybus/gpbridge.h b/drivers/staging/greybus/gpbridge.h
index 44a7091b0951..e2301888a322 100644
--- a/drivers/staging/greybus/gpbridge.h
+++ b/drivers/staging/greybus/gpbridge.h
@@ -268,9 +268,6 @@ struct gb_pwm_disable_request {
};
/* I2S */
-#ifndef BIT
-#define BIT(n) (1UL << (n))
-#endif
#define GB_I2S_MGMT_TYPE_PROTOCOL_VERSION 0x01
#define GB_I2S_MGMT_TYPE_GET_SUPPORTED_CONFIGURATIONS 0x02