linux/drivers/gpu/drm/omapdrm
Arnd Bergmann d0196c8d5d drm/omap: include gpio/consumer.h where needed
A lot of the display drivers for OMAP use the gpio descriptor functions
that are only available in linux/gpio.h if GPIOLIB is enabled and
otherwise produce a build error:

drivers/gpu/drm/omapdrm/displays/encoder-opa362.c: In function 'opa362_enable':
drivers/gpu/drm/omapdrm/displays/encoder-opa362.c:101:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
drivers/gpu/drm/omapdrm/displays/panel-dpi.c: In function 'panel_dpi_probe_pdata':
drivers/gpu/drm/omapdrm/displays/panel-dpi.c:189:23: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c: In function 'sharp_ls_enable':
drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c:120:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]

This replaces the existing linux/gpio.h with linux/gpio/consumer.h
where needed. In case of panel-lgphilips-lb035q02.c however, we
also have to include linux/gpio.h to get the definition of gpio_is_valid
and gpio_set_value_cansleep that are used for the non-DT case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[tomi.valkeinen@ti.com: resolved conflicts]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-05-31 08:30:14 +03:00
..
displays drm/omap: include gpio/consumer.h where needed 2016-05-31 08:30:14 +03:00
dss drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
Kconfig Revert "drm/omap: no need to select OMAP2_DSS" 2016-05-31 08:30:14 +03:00
Makefile drm/omap: remove -Werror from Makefile 2016-03-03 17:38:46 +02:00
omap_connector.c drm/omap: support double-pixel 2016-03-03 17:36:42 +02:00
omap_crtc.c Merge tag 'topic/drm-misc-2016-03-14' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-03-16 11:09:26 +10:00
omap_debugfs.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_priv.h drm/omap: fix race conditon in DMM 2015-03-24 13:50:59 +02:00
omap_dmm_tiler.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_tiler.h drm/omap: fix TILER on OMAP5 2015-03-24 13:50:55 +02:00
omap_drv.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
omap_drv.h drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
omap_encoder.c drm/omap: print an error if display enable fails 2016-03-03 17:36:41 +02:00
omap_fb.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_fbdev.c drm/omapdrm: Use unlocked gem unreferencing 2016-04-20 12:54:19 +02:00
omap_gem_dmabuf.c Merge tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-03-24 08:41:59 +10:00
omap_gem.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
omap_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
TODO