diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 11:59:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 11:59:06 -0700 |
commit | e18d5313c680e5bb8cbdc0dce8f8698c2ab20663 (patch) | |
tree | ff9de96217ddaed10e7c98a13d8d3a70dc05adab /drivers/staging/brcm80211/util/bcmotp.c | |
parent | 36c63ff6afb1bdc2d93aac6d207d6529177d47f8 (diff) | |
download | talos-op-linux-e18d5313c680e5bb8cbdc0dce8f8698c2ab20663.tar.gz talos-op-linux-e18d5313c680e5bb8cbdc0dce8f8698c2ab20663.zip |
Staging: brcm80211: remove ROUNDUP macro
And use the kernel provided 'roundup' instead.
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/util/bcmotp.c')
-rw-r--r-- | drivers/staging/brcm80211/util/bcmotp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/util/bcmotp.c b/drivers/staging/brcm80211/util/bcmotp.c index 2a1894373291..95cde3c2c733 100644 --- a/drivers/staging/brcm80211/util/bcmotp.c +++ b/drivers/staging/brcm80211/util/bcmotp.c @@ -152,7 +152,7 @@ static otpinfo_t otpinfo; #define OTPGU_P_SHIFT (OTPGU_HWP_OFF % 16) /* OTP Size */ -#define OTP_SZ_FU_324 ((ROUNDUP(324, 8))/8) /* 324 bits */ +#define OTP_SZ_FU_324 ((roundup(324, 8))/8) /* 324 bits */ #define OTP_SZ_FU_288 (288/8) /* 288 bits */ #define OTP_SZ_FU_216 (216/8) /* 216 bits */ #define OTP_SZ_FU_72 (72/8) /* 72 bits */ |