OSDN Git Service

omapfb: allow compilation only if DRM_OMAP is disabled
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 Dec 2015 16:21:58 +0000 (18:21 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Dec 2015 09:07:45 +0000 (11:07 +0200)
commit1c6aac92ee6cbb007ec0765956095357e7d4090c
tree08687fb4b0c8eb45cd2c572c583928b6fbe47d2a
parentef1ea03d7574273d39b6af49494b02e337992a62
omapfb: allow compilation only if DRM_OMAP is disabled

At the moment omapfb and omapdrm can be compiled at the same time, if
both are modules. However, they can't be both loaded, as they use the
same hardware. This has been mostly for compile testing.

To make it clear that omapfb and omapdrm are mutually exclusive drivers,
this patch makes omapfb available only if omapdrm is disabled.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com>
drivers/video/fbdev/omap2/omapfb/Kconfig