summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/ptn3460.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-05-05 18:32:18 +0200
committerThierry Reding <treding@nvidia.com>2015-06-05 13:46:20 +0200
commitdcd43d6483a89210dba8726b3b49a4b3d9efdde7 (patch)
tree0f892a239bb6c445e6a434f580afd46576d33217 /drivers/gpu/drm/bridge/ptn3460.c
parentdad3c3503462f59c6bec7edfa19dbde1857962c0 (diff)
drm/bridge: ps8622: Include linux/gpio/consumer.h
If GPIOLIB=n and asm-generic/gpio.h is not used: drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_pre_enable’: drivers/gpu/drm/bridge/ps8622.c:368: error: implicit declaration of function ‘gpiod_set_value’ drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_probe’: drivers/gpu/drm/bridge/ps8622.c:584: error: implicit declaration of function ‘devm_gpiod_get’ drivers/gpu/drm/bridge/ps8622.c:584: warning: assignment makes pointer from integer without a cast drivers/gpu/drm/bridge/ps8622.c:590: error: implicit declaration of function ‘gpiod_direction_output’ drivers/gpu/drm/bridge/ps8622.c:596: warning: assignment makes pointer from integer without a cast Add the missing #include <linux/gpio/consumer.h> to fix this. Fixes: f1336e6afb ("drm/bridge: Add I2C based driver for ps8622/ps8625 bridge") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: David Airlie <airlied@linux.ie> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/bridge/ptn3460.c')
0 files changed, 0 insertions, 0 deletions