linux/drivers/gpu/drm/sun4i
Arnd Bergmann bebef39842 drm/sun4i: add COMMON_CLK dependency
The sun4i drm driver uses the clk-provider interfaces, which are not available
when CONFIG_COMMON_CLK is disabled:

drivers/gpu/drm/sun4i/sun4i_dotclock.c:19:16: error: field 'hw' has incomplete type
  struct clk_hw hw;
In file included from ../include/asm-generic/bug.h:13:0,
                 from ../arch/arm/include/asm/bug.h:59,
                 from ../include/linux/bug.h:4,
                 from ../include/linux/io.h:23,
                 from ../include/linux/clk-provider.h:14,
                 from ../drivers/gpu/drm/sun4i/sun4i_dotclock.c:13:
drivers/gpu/drm/sun4i/sun4i_dotclock.c: In function 'hw_to_dclk':
include/linux/kernel.h:831:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
...

This adds a Kconfig dependency to prevent the driver from being enabled
in this case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 9026e0d122 ("drm: Add Allwinner A10 Display Engine support")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2016-05-30 08:28:33 +02:00
..
Kconfig drm/sun4i: add COMMON_CLK dependency 2016-05-30 08:28:33 +02:00
Makefile drm: sun4i: Add composite output 2016-04-28 10:30:05 +02:00
sun4i_backend.c
sun4i_backend.h
sun4i_crtc.c
sun4i_crtc.h
sun4i_dotclock.c
sun4i_dotclock.h
sun4i_drv.c drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_drv.h
sun4i_framebuffer.c
sun4i_framebuffer.h
sun4i_layer.c
sun4i_layer.h
sun4i_rgb.c drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_rgb.h drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_tcon.c drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_tcon.h drm: sun4i: Add RGB output 2016-04-28 10:30:05 +02:00
sun4i_tv.c drm: sun4i: tv: Add NTSC output standard 2016-04-28 10:30:05 +02:00