Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver
[pandora-kernel.git] / drivers / bluetooth / btmrvl_sdio.h
index 2dd284e..27329f1 100644 (file)
@@ -104,4 +104,5 @@ struct btmrvl_sdio_device {
 
 /* Macros for Data Alignment : address */
 #define ALIGN_ADDR(p, a)       \
-       ((((u32)(p)) + (((u32)(a)) - 1)) & ~(((u32)(a)) - 1))
+       ((((unsigned long)(p)) + (((unsigned long)(a)) - 1)) & \
+                                       ~(((unsigned long)(a)) - 1))