Re: [PATCH] media_build update IS_ENABLED macro

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

 



Sorry ignore my patch.. it's broken

Regards Eddi

On Wed, Feb 6, 2013 at 9:48 PM, Eddi De Pieri <eddi@xxxxxxxxxxx> wrote:
> Fix media_build by updating IS_ENABLED macro
>
> Signed-off-by: Eddi De Pieri <eddi@xxxxxxxxxxx>
>
> diff --git a/v4l/compat.h b/v4l/compat.h
> index 8ef90aa..fd0d139 100644
> --- a/v4l/compat.h
> +++ b/v4l/compat.h
> @@ -1102,7 +1102,7 @@ static inline void i2c_unlock_adapter(struct
> i2c_adapter *adapter)
>  #define __config_enabled(arg1_or_junk) ___config_enabled(arg1_or_junk 1, 0)
>  #define ___config_enabled(__ignored, val, ...) val
>  #define IS_ENABLED(option) \
> -               (config_enabled(option) || config_enabled(option##_MODULE))
> +               (defined(__enabled_ ## option) || defined(__enabled_
> ## option ## _MODULE))
>  #endif
>
>  #ifdef NEED_USB_TRANSLATE_ERRORS
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux