f57cdbd34c
__WARN() cannot be used in portable code, since it is only
available on some architectures and configurations:
drivers/media/platform/pxa_camera.c: In function 'pxa_mbus_config_compatible':
drivers/media/platform/pxa_camera.c:642:3: error: implicit declaration of function '__WARN'; did you mean '__WALL'? [-Werror=implicit-function-declaration]
The common way to express an unconditional warning is WARN_ON(1),
so let's use that here.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sh_mobile_ceu_camera.c | ||
soc_camera_platform.c | ||
soc_camera.c | ||
soc_mediabus.c | ||
soc_scale_crop.c | ||
soc_scale_crop.h |