Re: [PATCH 25/28] android/hog: Add MIN definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mariusz,

On Wednesday 01 of April 2015 18:40:41 Mariusz Skamra wrote:
> It's needed to delete attrib, where the previous definition was.

Just squeeze this patch with one that requires this macro.

> ---
>  android/hog.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/android/hog.c b/android/hog.c
> index 9276d40..eb9c9d4 100644
> --- a/android/hog.c
> +++ b/android/hog.c
> @@ -59,6 +59,10 @@
>  #include "android/bas.h"
>  #include "android/hog.h"
> 
> +#ifndef MIN
> +#define MIN(a, b) (((a) < (b)) ? (a) : (b))
> +#endif
> +
>  #define HOG_REPORT_TYPE_INPUT	1
>  #define HOG_REPORT_TYPE_OUTPUT	2
>  #define HOG_REPORT_TYPE_FEATURE	3

-- 
BR
Szymon Janc
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux