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