From: Greg Kroah-Hartman Date: Fri, 10 Apr 2015 09:20:35 +0000 (+0200) Subject: greybus: gpbridge.h: remove BIT() define X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dcd1dadd7ee32b3fd135904fac85c556bac5cbc5;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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