linux/drivers/video/omap2/omapfb
Tomi Valkeinen 4a75cb857d OMAPFB: remove compiler warnings when CONFIG_BUG=n
If CONFIG_BUG is not enabled, BUG() does not stop the execution. Many
places in code expect the execution to stop, and this causes compiler
warnings about uninitialized variables and returning from a non-void
function without a return value.

This patch fixes the warnings by initializing the variables and
returning properly after BUG() lines. However, the behaviour is still
undefined after the BUG, but this is the choice the user makes when
using CONFIG_BUG=n.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-05-22 10:59:15 +03:00
..
Kconfig staging: add omapdrm DRM/KMS driver for TI OMAP platforms 2011-11-26 17:43:30 -08:00
Makefile OMAP: DSS2: omapfb driver 2009-12-09 12:12:44 +02:00
omapfb-ioctl.c OMAPDSS: OMAPFB: always allow to configure overlay 2012-05-11 14:44:21 +03:00
omapfb-main.c OMAPFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00
omapfb-sysfs.c OMAPDSS: APPLY: rewrite overlay enable/disable 2011-12-02 08:54:44 +02:00
omapfb.h OMAPFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00