linux/drivers/media/platform/soc_camera
Arnd Bergmann f57cdbd34c media: v4l: use WARN_ON(1) instead of __WARN()
__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: 97bbdf02d9 ("media: v4l: Add support for CSI-1 and CCP2 busses")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-08 06:34:36 -04:00
..
Kconfig [media] atmel-isi: move out of soc_camera to atmel 2017-04-10 08:00:06 -03:00
Makefile [media] atmel-isi: move out of soc_camera to atmel 2017-04-10 08:00:06 -03:00
sh_mobile_ceu_camera.c [media] sh_mobile_ceu_camera: use module_platform_driver 2017-03-23 14:40:09 -03:00
soc_camera_platform.c [media] media: platform: soc_camera_platform : constify v4l2_subdev_* structures 2017-01-30 14:47:21 -02:00
soc_camera.c media: media/platform: add const to v4l2_file_operations structures 2017-07-19 14:56:19 -04:00
soc_mediabus.c media: v4l: use WARN_ON(1) instead of __WARN() 2017-08-08 06:34:36 -04:00
soc_scale_crop.c [media] soc-camera: fix rectangle adjustment in cropping 2017-03-23 14:45:59 -03:00
soc_scale_crop.h [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00